mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-17 13:15:08 +02:00
14 lines
462 B
TypeScript
14 lines
462 B
TypeScript
|
export namespace Types {
|
||
|
export type StrToEl = (
|
||
|
str: string,
|
||
|
) => HTMLElement | HTMLInputElement | HTMLOptionElement;
|
||
|
export type StringFunction = () => string;
|
||
|
export type NoticeStringFunction = (value: string) => string;
|
||
|
export type NoticeLimitFunction = (maxItemCount: number) => string;
|
||
|
export type FilterFunction = (value: string) => boolean;
|
||
|
export type ValueCompareFunction = (
|
||
|
value1: string,
|
||
|
value2: string,
|
||
|
) => boolean;
|
||
|
}
|