element-plus/typings/vue-shim.d.ts
jeremywu ef92b6c11c
### feat: add dialog (#197)
* Add overlay component; Dialog component almost done

* feat(dialog): add use-lockscreen

* feat(dialog): coding completed awaiting tests

* feat(dialog): finish writing test cases

* fix test failures

* Address PR comments

* fallback some changes
2020-09-09 21:18:08 +08:00

21 lines
472 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
}
declare type Hash<T> = Indexable<T>
declare type TimeoutHandle = ReturnType<typeof global.setTimeout>