angular/adev/tsconfig.json
Kristiyan Kostadinov 974958913c feat(core): support TypeScript 5.4 (#54414)
Adds support for TypeScript 5.4 to the project.

PR Close #54414
2024-02-26 18:29:09 -08:00

44 lines
1.3 KiB
JSON

/* To learn more about this file see: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
{
"ts-node": {
"compilerOptions": {
"module": "commonjs"
}
},
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "ES2022",
"module": "ES2022",
"useDefineForClassFields": false,
"lib": ["ES2022", "dom"],
"esModuleInterop": true,
"resolveJsonModule": true,
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment",
// TODO(crisbeto): temporarily disabled while adding support for TS 5.4. Should be re-enabled.
"skipLibCheck": true,
"paths": {
"@angular/*": ["../packages/*"],
},
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}