mirror of https://github.com/vuejs/vue.git
fix(types): Add missing type parameter constraints (#12754)
This commit is contained in:
parent
15618888cb
commit
810f6d12ed
|
@ -95,8 +95,8 @@ export type ThisTypedComponentOptionsWithArrayProps<
|
|||
Computed,
|
||||
PropNames extends string,
|
||||
SetupBindings,
|
||||
Mixin,
|
||||
Extends
|
||||
Mixin extends ComponentOptionsMixin,
|
||||
Extends extends ComponentOptionsMixin
|
||||
> = object &
|
||||
ComponentOptions<
|
||||
V,
|
||||
|
@ -132,8 +132,8 @@ export type ThisTypedComponentOptionsWithRecordProps<
|
|||
Computed,
|
||||
Props,
|
||||
SetupBindings,
|
||||
Mixin,
|
||||
Extends
|
||||
Mixin extends ComponentOptionsMixin,
|
||||
Extends extends ComponentOptionsMixin
|
||||
> = object &
|
||||
ComponentOptions<
|
||||
V,
|
||||
|
|
Loading…
Reference in New Issue