Extension Version
0.20260520.1
VS Code Version
1.120.0
Operating system Version
MacOS 26.5
Steps to reproduce
- In JSX use
<Image /> without any imports for such component
- Look up the type it uses
Issue
It seems to pull a non JSX element type from /Users/me/.vscode/extensions/typescriptteam.native-preview-0.20260520.1-darwin-arm64/lib/lib.dom.d.ts;
declare var Image: {
new(width?: number, height?: number): HTMLImageElement;
};
which should not be allowed to be JSX element as it's an HTMLImageElement constructor
Extension Version
0.20260520.1
VS Code Version
1.120.0
Operating system Version
MacOS 26.5
Steps to reproduce
<Image />without any imports for such componentIssue
It seems to pull a non JSX element type from
/Users/me/.vscode/extensions/typescriptteam.native-preview-0.20260520.1-darwin-arm64/lib/lib.dom.d.ts;which should not be allowed to be JSX element as it's an HTMLImageElement constructor