Skip to content

Commit 810f6d1

Browse files
authored
fix(types): Add missing type parameter constraints (#12754)
1 parent 1561888 commit 810f6d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

types/options.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ export type ThisTypedComponentOptionsWithArrayProps<
9595
Computed,
9696
PropNames extends string,
9797
SetupBindings,
98-
Mixin,
99-
Extends
98+
Mixin extends ComponentOptionsMixin,
99+
Extends extends ComponentOptionsMixin
100100
> = object &
101101
ComponentOptions<
102102
V,
@@ -132,8 +132,8 @@ export type ThisTypedComponentOptionsWithRecordProps<
132132
Computed,
133133
Props,
134134
SetupBindings,
135-
Mixin,
136-
Extends
135+
Mixin extends ComponentOptionsMixin,
136+
Extends extends ComponentOptionsMixin
137137
> = object &
138138
ComponentOptions<
139139
V,

0 commit comments

Comments
 (0)