Skip to content

Commit

Permalink
fix(json-schema): fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Mar 12, 2021
1 parent 782bc07 commit a01958e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/json-schema/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export interface ISchemaTransformerOptions extends ISchemaFieldFactoryOptions {
}

export type Stringify<P extends { [key: string]: any }> = {
[key in keyof P]?: P[key] | `{{${string}}}`
[key in keyof P]?: P[key] | string
}

export type ISchema<
Expand Down

0 comments on commit a01958e

Please sign in to comment.