[🐞] v2: v1 compat JSXNode types #7041
Labels
COMP: DX
Developer Experience related issue
TYPE: bug
Something isn't working
VERSION: upcoming major
Which component is affected?
Qwik Runtime
Describe the bug
When building v2 with v1 libs, the types don't match up for JSXNode.
Both v1 and v2 expose JSXNode types that include internal properties:
immutableProps
varProps
andconstProps
While v2 correctly handles v1 imports during transformation, typescript still refers to v1 for types
Reproduction
https://github.com/thejackshelton-kunaico/v2-empty
Steps to reproduce
pnpm i
andpnpm exec tsc
System Info
Additional Information
Proposed fix: either:
$varProps$
etc? This means quite a lot of code changesThe text was updated successfully, but these errors were encountered: