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

12 lines
515 B
TypeScript

1 year ago
import type { VNode, VNodeChild } from 'vue'
export type VueKey = string | number
export type VueText = string | number
export type VueNode = VNodeChild | VNode | VNode[] | JSX.Element | string | null | undefined
export type VueRender = (...args: any[]) => VueNode
export type VueNodeOrRender = VueNode | VueRender
export const VueNodePropType = [Object, String]
export const VueNodeOrRenderPropType = [Object, Function, String]
export const WithFalseVueNodeOrRenderPropType = [Object, Function, String, Boolean]