@wocwin/t-ui-plus
Version:
Page level components developed based on Element Plus.
30 lines (28 loc) • 526 B
TypeScript
import { Mutable } from 'element-plus/es/utils';
export {};
/**
* ref 绑定的元素类型
*/
export type ElementRefType = HTMLElement | null;
/**
* setTimeout 类型
*/
export type Timeout = ReturnType<typeof setTimeout>;
/**
* setInterval 类型
*/
export type Interval = ReturnType<typeof setInterval>;
/**
* 普通的对象的泛型
*/
export type RecordType = {
[index: keyof any]: any;
};
/**
* 允许null的泛型
*/
export type Nullable<T> = T | null;
/**
* 去除只读状态
*/
export { Mutable };