mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
20 lines
467 B
TypeScript
20 lines
467 B
TypeScript
declare module '*.vue' {
|
|
import { defineComponent } from 'vue'
|
|
const component: ReturnType<typeof defineComponent>
|
|
export default component
|
|
}
|
|
|
|
declare type Nullable<T> = T | null;
|
|
|
|
declare type CustomizedHTMLElement<T> = HTMLElement & T
|
|
|
|
declare type Indexable<T> = {
|
|
[key: string]: T
|
|
}
|
|
|
|
declare type Hash<T> = Indexable<T>
|
|
|
|
declare type TimeoutHandle = ReturnType<typeof global.setTimeout>
|
|
|
|
declare type ComponentSize = 'large' | 'medium' | 'small' | 'mini'
|