Skip to content

Commit d14d71a

Browse files
committed
wip
1 parent bf20de1 commit d14d71a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-core/src/apiDefineComponent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ type InferComponentOptions<
138138
__typeProps?: infer TypeProps
139139
__typeEmits?: infer TypeEmits
140140
__typeRefs?: infer TypeRefs
141-
__typeEl?: infer TypeEl
141+
__typeEl?: infer TypeEl extends Element
142142
}
143143
? {
144144
components?: GlobalComponents
@@ -218,7 +218,7 @@ type InferComponentOptions<
218218
Slots & {},
219219
Exposed & string,
220220
TypeRefs & {},
221-
TypeEl & Element,
221+
TypeEl,
222222
ResolveTypeEmits<RuntimeEmitsOptions & {}, TypeEmits>
223223
>
224224
} & ConcreteComponentOptions

0 commit comments

Comments
 (0)