Skip to content

Commit aa5a73a

Browse files
PomaioMarshinov Grigoriy
andauthored
update options type in WidgetProps (#2065)
* update options type in WidgetProps * Change type on NonNullable Co-authored-by: Marshinov Grigoriy <[email protected]>
1 parent 32717c7 commit aa5a73a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ declare module '@rjsf/core' {
106106
readonly: boolean;
107107
autofocus: boolean;
108108
onChange: (value: any) => void;
109-
options: { [key: string]: boolean | number | string | object | null };
109+
options: NonNullable<UiSchema['ui:options']>;
110110
formContext: any;
111111
onBlur: (id: string, value: boolean | number | string | null) => void;
112112
onFocus: (id: string, value: boolean | number | string | null) => void;

0 commit comments

Comments
 (0)