mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
ef92b6c11c
* 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
21 lines
472 B
TypeScript
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>
|