fix(types): ensure correct public props interface for defineComponent instance type
fix #1385
This commit is contained in:
@@ -174,7 +174,7 @@ export function defineComponent<
|
||||
>
|
||||
): ComponentPublicInstanceConstructor<
|
||||
CreateComponentPublicInstance<
|
||||
ExtractPropTypes<PropsOptions>,
|
||||
ExtractPropTypes<PropsOptions, false>,
|
||||
RawBindings,
|
||||
D,
|
||||
C,
|
||||
@@ -182,7 +182,7 @@ export function defineComponent<
|
||||
Mixin,
|
||||
Extends,
|
||||
E,
|
||||
VNodeProps & ExtractPropTypes<PropsOptions, false>
|
||||
VNodeProps
|
||||
>
|
||||
> &
|
||||
ComponentOptionsWithObjectProps<
|
||||
|
||||
Reference in New Issue
Block a user