fix(types): Add missing type parameter constraints (#12754)

This commit is contained in:
Nathan Shively-Sanders 2022-08-21 19:28:39 -07:00 committed by GitHub
parent 15618888cb
commit 810f6d12ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
types/options.d.ts vendored
View File

@ -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,