Skip to content

Commit

Permalink
chore(json-schema): improve typings
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Jan 26, 2022
1 parent aebe583 commit d116d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/json-schema/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export type SchemaEnum<Message> = Array<
| string
| number
| boolean
| { label: Message; value: any; [key: string]: any }
| { key: any; title: Message; [key: string]: any }
| { label?: Message; value?: any; [key: string]: any }
| { key?: any; title?: Message; [key: string]: any }
>

export type SchemaTypes =
Expand Down

0 comments on commit d116d27

Please sign in to comment.