chore(backend): keep tsc typecheck green under node10 deprecation
TypeScript 6.x makes moduleResolution=node10 (the legacy "node" resolver) a hard error (TS5107), so `tsc --noEmit` exited 2 and the backend typecheck gate was red. Add "ignoreDeprecations": "6.0" as TS itself prescribes; node10/ CommonJS resolution semantics are retained intentionally until a deliberate resolver bump. Typecheck now exits 0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
bab51cd428
commit
beefc08485
@ -12,6 +12,10 @@
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"moduleResolution": "node",
|
||||
// TS7.0 turns the legacy "node" (node10) resolver into a hard error. We keep
|
||||
// node10 semantics intentionally (CommonJS output) and silence the pre-7.0
|
||||
// deprecation so `tsc --noEmit` stays green until a deliberate resolver bump.
|
||||
"ignoreDeprecations": "6.0",
|
||||
"typeRoots": ["./node_modules/@types"],
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
|
||||
Reference in New Issue
Block a user