mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Allow extra properties in when calling createTag.
This commit is contained in:
parent
812083b9ec
commit
a9d7874562
2
types/select2/index.d.ts
vendored
2
types/select2/index.d.ts
vendored
@ -213,7 +213,7 @@ export interface Options<Result = DataFormat | GroupedDataFormat, RemoteResult =
|
||||
width?: string;
|
||||
|
||||
// Not in https://select2.org/configuration/options-api
|
||||
createTag?: (params: SearchOptions) => IdTextPair | null;
|
||||
createTag?: (params: SearchOptions) => (IdTextPair & Record<string, any>) | null;
|
||||
insertTag?: (data: Array<OptionData | IdTextPair>, tag: IdTextPair) => void;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user