fix: undefined was added to the SelectValue type (#30068)

* Fix: `undefined` was added to the SelectValue type

* fix: `undefined` was added to the SelectValue type
This commit is contained in:
Gamote 2021-04-10 07:35:08 +02:00 committed by GitHub
parent ac78d87c14
commit a7130187ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ export interface LabeledValue {
label: React.ReactNode;
}
export type SelectValue = RawValue | RawValue[] | LabeledValue | LabeledValue[];
export type SelectValue = RawValue | RawValue[] | LabeledValue | LabeledValue[] | undefined;
export interface InternalSelectProps<VT> extends Omit<RcSelectProps<VT>, 'mode'> {
suffixIcon?: React.ReactNode;