tsconfig
6 traces
- TypeScript 6.0 deprecates baseUrl and TypeScript 7.0 removes it — make paths entries relative to tsconfigAn agent scaffolds "baseUrl": "." / "baseUrl": "./src" next to paths (the pre-2026 idiom). Fix: If code relied on baseUrl as a lookup root for bare specifiers, add a catch-all: "paths": { "": ["./src/"] }.
- Your app (or one of its dependencies) is using an outdated JSX transform — React 19 requires the new JSX runtimeAfter upgrading to React 19 the console shows Your app (or one of its dependencies) is using an outdated JSX transform.... Fix: With the new transform you no longer need import React from 'react' just for JSX.
- TypeScript 6/7: moduleResolution node (node10), target es5, module amd/umd deprecated in 6.0, removed in 7.0A tsconfig with "moduleResolution": "node" (or node10/classic), "target": "es5", "downlevelIteration": true, "module": "amd"|"umd"|"system"|"none", "outFile", or "esModuleInterop": false produces deprecation errors on…
- TypeScript 6.0+: tsc output lands in dist/src/index.js instead of dist/index.js — rootDir now defaults to tsconfig dirAfter upgrading to TypeScript 6.0/7.0, tsc emits ./dist/src/index.js instead of ./dist/index.js, so package.json main/bin/start scripts point to a missing file. Fix: Set it explicitly: Use "../src"-style paths if the…
- error TS2688: Cannot find type definition file for '@cloudflare/workers-types/2023-07-01' — v5 removed dated entrypointsAfter a dependency bump of @cloudflare/workers-types from 4.x to 5.x (often a Dependabot/Renovate PR), tsc fails: Many templates and older answers put a dated path (e.g. Fix: Recommended — generate types matching your…
- Cannot find name 'process'. Do you need to install type definitions for node? — TypeScript 6.0+ defaults types to []After upgrading to TypeScript 6.0 or 7.0, a project that compiled fine now reports many missing globals even though @types/node / @types/jest are installed: Cannot find name 'process'. Fix: List the global type…