crud-up
Version:
基于el-plus-crud上做细微修改以适配新的依赖特性 原版请见https://github.com/KDJack/el-plus-crud
14 lines (10 loc) • 368 B
TypeScript
import type { DefineComponent } from 'vue'
// 声明文件,*.vue 后缀的文件交给 vue 模块来处理
declare module '*.vue' {
const component: DefineComponent<{}, {}, any>
export default component
}
// 声明 ref
declare type RefType<T = any> = T | null
// 声明 HTMLElement
declare type HtmlType = HTMLElement | string | undefined | null