chore(ts): make tsconfig compatible with TypeScript 6

- Add rootDir: ./src so tsc no longer errors with TS5011 demanding it
  be set explicitly alongside outDir.
- Add ignoreDeprecations: 6.0 to silence the TS5101 baseUrl deprecation
  warning until baseUrl is removed in TS 7.
This commit is contained in:
Claude Owner
2026-05-26 14:39:07 +09:00
parent e22cb53ccf
commit 9123afc14e

View File

@@ -3,7 +3,9 @@
"target": "esnext", "target": "esnext",
"module": "commonjs", "module": "commonjs",
"baseUrl": "./src", "baseUrl": "./src",
"rootDir": "./src",
"outDir": "./dist", "outDir": "./dist",
"ignoreDeprecations": "6.0",
"removeComments": true, "removeComments": true,
"esModuleInterop": true, "esModuleInterop": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,