element-plus/typings/vue-shim.d.ts
2020-08-25 23:28:47 +08:00

17 lines
370 B
TypeScript

declare module '*.vue' {
import { Component, ComponentPublicInstance } from 'vue'
const _default: Component & {
// eslint-disable-next-line
new (): ComponentPublicInstance<any>
}
export default _default
}
declare type Nullable<T> = T | null;
declare type CustomizedHTMLElement<T> = HTMLElement & T;
declare type Indexable<T> = {
[key: string]: T
};