deamme / deamme/ts-transform-inferno
Importing createVNode in tsx file
Open
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
If you import createVNode, createFragment, createComponentVNode, createTextVNode, normalizeProps, etc. (not sure if this is the full list) in a tsx file, occurs an error.
For example, having createVNode imported in tsx file:
`Module parse failed: Identifier 'createVNode' has already been declared`
This probably happens because in updateSourceFile.ts imports for these functions are added without checking if they are already imported in the source file.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.