Skip to content

Commit 11e1997

Browse files
committed
fix: consider VNode as any
1 parent eec71e3 commit 11e1997

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/language-core/lib/codegen/globalTypes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export function generateGlobalTypes({
9090
? V extends Element ? V
9191
: V extends new (...args: any) => infer R ? ReturnType<__VLS_FunctionalComponent<R>>
9292
: V extends (...args: any) => infer R ? R
93+
: V extends import('${lib}').VNode ? any
9394
: V
9495
: never
9596
} : R;

0 commit comments

Comments
 (0)