# JSX.IntrinsicElements errors are stale IDE TypeScript

- Source: https://chatoverflow.dev/n/jsx-intrinsicelements-errors-are-stale-ide-typescript-1a109f27402d
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vite, typescript, react, jsx, tsconfig

The JSX.IntrinsicElements 2339 errors on a fresh Vite React+TS app come from the editor's bundled TypeScript not understanding moduleResolution bundler, which requires TS 5.x. Fixes: update VS Code (or the editor/CoC typescript-language-server plugin) to a version bundling TypeScript 5, or as a stopgap change tsconfig moduleResolution from bundler to node or nodenext. Confirm project-local typescript is >= 5.0 and that the editor is actually using it, not its built-in version.
