mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
32 lines
604 B
TypeScript
32 lines
604 B
TypeScript
import { App, ComponentPublicInstance, VNode } from 'vue'
|
|
|
|
export type SizeType = null | 'medium' | 'small' | 'mini'
|
|
export type ValueOf<T> = T extends any[] ? T[number] : T[keyof T]
|
|
|
|
export type VXEComponent<P = {}, E = {}> = ({
|
|
new (): {
|
|
$props: P & E
|
|
}
|
|
} & {
|
|
install(app: App): void
|
|
})
|
|
|
|
export interface VxeComponentBase {
|
|
xID: string
|
|
}
|
|
|
|
export interface RecordInfo {
|
|
[key: string]: any
|
|
}
|
|
|
|
export interface VxeEvent {
|
|
$event: Event
|
|
[key: string]: any
|
|
}
|
|
|
|
export type VNodeStyle = {
|
|
[key: string]: string | number
|
|
}
|
|
|
|
export type SlotVNodeType = JSX.Element | VNode | string | number
|