Skip to content

Commit 43579e1

Browse files
committed
chore: remove warningProps type since this should handle by user self
1 parent d266200 commit 43579e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export interface GenerateConfig<OptionsType extends object[]> {
151151
) => OptionsType;
152152
/** Check if a value is disabled */
153153
isValueDisabled: (value: RawValueType, options: FlattenOptionsType<OptionsType>) => boolean;
154-
warningProps: (props: SelectProps<OptionsType, DefaultValueType>) => void;
154+
warningProps: (props: any) => void;
155155
fillOptionsWithMissingValue?: (
156156
options: OptionsType,
157157
value: DefaultValueType,

0 commit comments

Comments
 (0)