element-plus/typings/vue-shim.d.ts

13 lines
317 B
TypeScript
Raw Normal View History

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 & {
// 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
}
declare type Nullable<T> = T | null;
declare type CustomizedHTMLElement<T> = HTMLElement & T;