2020-07-21 20:23:49 +08:00
|
|
|
declare module '*.vue' {
|
2020-12-23 14:07:15 +08:00
|
|
|
import { App, defineComponent } from 'vue'
|
|
|
|
const component: ReturnType<typeof defineComponent> & {
|
|
|
|
install(app: App): void
|
|
|
|
}
|
2020-09-21 15:39:53 +08:00
|
|
|
export default component
|
2020-07-21 20:23:49 +08:00
|
|
|
}
|
2020-07-28 00:32:04 +08:00
|
|
|
|
|
|
|
declare type Nullable<T> = T | null;
|
|
|
|
|
2020-09-09 21:18:08 +08:00
|
|
|
declare type CustomizedHTMLElement<T> = HTMLElement & T
|
2020-08-04 19:03:20 +08:00
|
|
|
|
|
|
|
declare type Indexable<T> = {
|
|
|
|
[key: string]: T
|
2020-09-09 21:18:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
declare type Hash<T> = Indexable<T>
|
|
|
|
|
|
|
|
declare type TimeoutHandle = ReturnType<typeof global.setTimeout>
|
2020-10-30 23:26:33 +08:00
|
|
|
|
|
|
|
declare type ComponentSize = 'large' | 'medium' | 'small' | 'mini'
|