2020-07-21 20:23:49 +08:00
|
|
|
declare module '*.vue' {
|
2020-07-24 17:26:08 +08:00
|
|
|
import { Component, ComponentPublicInstance } from 'vue'
|
|
|
|
const _default: Component & {
|
2020-07-28 00:32:04 +08:00
|
|
|
// eslint-disable-next-line
|
2020-07-25 13:54:19 +08:00
|
|
|
new (): ComponentPublicInstance<any>
|
2020-07-24 17:26:08 +08:00
|
|
|
}
|
2020-07-21 20:23:49 +08:00
|
|
|
export default _default
|
|
|
|
}
|
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>
|