You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
404 B
TypeScript
16 lines
404 B
TypeScript
declare interface Fn<T = any> {
|
|
(...arg: T[]): T
|
|
}
|
|
|
|
declare type Nullable<T> = T | null
|
|
|
|
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
|
|
|
|
declare type ElememtPlusSzie = 'medium' | 'small' | 'mini'
|
|
|
|
declare type ElementPlusInfoType = 'success' | 'info' | 'warning' | 'danger'
|
|
|
|
declare type Recordable<T = any> = Record<string, T>
|
|
|
|
declare type ComponentRef<T> = InstanceType<T>
|