refactor(types): move component props interfaces + expose AllowedComponentProps
fix #1632
This commit is contained in:
@@ -54,7 +54,7 @@ export { h } from './h'
|
||||
// Advanced render function utilities
|
||||
export { createVNode, cloneVNode, mergeProps, isVNode } from './vnode'
|
||||
// VNode types
|
||||
export { Fragment, Text, Comment, Static, ComponentCustomProps } from './vnode'
|
||||
export { Fragment, Text, Comment, Static } from './vnode'
|
||||
// Built-in components
|
||||
export { Teleport, TeleportProps } from './components/Teleport'
|
||||
export { Suspense, SuspenseProps } from './components/Suspense'
|
||||
@@ -159,7 +159,9 @@ export {
|
||||
Component,
|
||||
FunctionalComponent,
|
||||
ComponentInternalInstance,
|
||||
SetupContext
|
||||
SetupContext,
|
||||
ComponentCustomProps,
|
||||
AllowedComponentProps
|
||||
} from './component'
|
||||
export {
|
||||
ComponentOptions,
|
||||
|
||||
Reference in New Issue
Block a user