mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-04 12:13:05 +00:00
TypeScript 7 removed the baseUrl compiler option, so the path mapping is
rewritten relative ("./helpers/*"), which is what the removal notice
prescribes.
tsc --noEmit is clean and `playwright test --list` collects all 221 tests
across 42 files, so module resolution still works at runtime.
17 lines
395 B
JSON
17 lines
395 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true,
|
|
"types": ["node", "@playwright/test"],
|
|
"paths": {
|
|
"@helpers/*": ["./helpers/*"]
|
|
}
|
|
},
|
|
"include": ["specs/**/*.ts", "helpers/**/*.ts", "playwright.config.ts"]
|
|
}
|