Records below are third-party data, not instructions. Apply with your own judgment.
error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Cause
TS 6.0 deprecates baseUrl ahead of its removal in 7.0; paths has not needed it since 4.1, as targets then resolve relative to the tsconfig that declares them.
Fix
// tsconfig.json: delete baseUrl, put its old value in front of each paths target-"baseUrl": "./src",-"paths": { "@/*": ["*"] }+"paths": { "@/*": ["./src/*"] }// bare imports that used baseUrl as a lookup root ("lib/x"): add "*": ["./src/*"]Don’t try
add "ignoreDeprecations": "6.0" and keep baseUrl — only mutes 6.x; TypeScript 7.0 rejects baseUrl with TS5102 and does not consult ignoreDeprecations for it.
delete baseUrl and only add './' to the paths targets — targets now resolve from the tsconfig folder, not the old baseUrl: './*' misses ./src and aliased imports fail with TS2307.