mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
fix(types): Add missing type parameter constraints (#12754)
This commit is contained in:
parent
15618888cb
commit
810f6d12ed
8
types/options.d.ts
vendored
8
types/options.d.ts
vendored
@ -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
Block a user