feat(runtime-core): add special property to get class component options (#821)

This commit is contained in:
Katashin
2020-03-12 23:46:32 +08:00
committed by GitHub
parent 1e9d1319c3
commit dd17fa1c90
4 changed files with 25 additions and 5 deletions

View File

@@ -130,7 +130,7 @@ export function h<O>(
children?: RawChildren | RawSlots
): VNode
// fake constructor type returned by `defineComponent`
// fake constructor type returned by `defineComponent` or class component
export function h(type: Constructor, children?: RawChildren): VNode
export function h<P>(
type: Constructor<P>,