types(runtime-core): improve the extracted instance types (#1936)

This commit is contained in:
HcySunYang
2020-08-25 09:37:22 +08:00
committed by GitHub
parent 475dd04ec9
commit 955450f539
2 changed files with 58 additions and 2 deletions

View File

@@ -189,7 +189,8 @@ export function defineComponent<
Extends,
E,
VNodeProps & AllowedComponentProps & ComponentCustomProps
>
> &
Readonly<ExtractPropTypes<PropsOptions>>
> &
ComponentOptionsWithObjectProps<
PropsOptions,