File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
packages/runtime-core/src Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -287,13 +287,6 @@ export function defineComponent<
287287 _EmitsKeys extends string = string ,
288288 _InjectKeys extends string = string ,
289289 // resolved types
290- ResolvedProps = ExtractMixinProps < Mixin > &
291- ExtractMixinProps < Extends > &
292- ( unknown extends TypeProps
293- ? PropsOptions extends ( infer Keys extends string ) [ ]
294- ? { [ K in Keys ] : null }
295- : PropsOptions
296- : { } ) ,
297290 ResolvedEmits extends ObjectEmitsOptions = ExtractMixinEmits < Mixin > &
298291 ExtractMixinEmits < Extends > &
299292 ( unknown extends TypeEmits
@@ -310,7 +303,17 @@ export function defineComponent<
310303 : ResolvedEmits
311304 : ResolvedEmits ,
312305 InferredProps = Readonly <
313- ExtractPropTypes < ResolvedProps > & TypeProps & EmitsToProps < ResolvedEmits >
306+ ExtractPropTypes <
307+ ExtractMixinProps < Mixin > &
308+ ExtractMixinProps < Extends > &
309+ ( unknown extends TypeProps
310+ ? PropsOptions extends ( infer Keys extends string ) [ ]
311+ ? { [ K in Keys ] : null }
312+ : PropsOptions
313+ : { } )
314+ > &
315+ TypeProps &
316+ EmitsToProps < ResolvedEmits >
314317 > ,
315318 InternalInstance = ComponentPublicInstance <
316319 InferredProps ,
You can’t perform that action at this time.
0 commit comments