You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
455 B

import type { Component, DefineComponent, VNode } from 'vue'
declare global {
/** vue node 原子类型 */
type VueNodeAtom = VNode | string | number | boolean | Date | null | undefined | (() => VueNode)
/** vue node 类型,可使用 ComponentsUtils.toVNode(VueNode) 转换成 VNode 后直接渲染 */
type VueNode = VueNodeAtom | Array<VueNode | VueNodeAtom>
/** vue组件 */
type VueComponent = Component | DefineComponent
}
export {}