mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Adds support for TypeScript 4.8 and resolves some issues that came up as a result of the update. Most of the issues came from some changes in TypeScript where the `decorators` and `modifiers` properties were removed from most node types, and were combined into a single `modifiers` array. Since we need to continue supporting TS 4.6 and 4.7 until v15, I ended up creating a new `ngtsc/ts_compatibility` directory to make it easier to reuse the new backwards-compatible code. PR Close #47038
26 lines
558 B
JSON
26 lines
558 B
JSON
{
|
|
"compilerOptions": {
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"experimentalDecorators": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"outDir": "./dist/out-tsc",
|
|
"rootDir": ".",
|
|
"target": "es5",
|
|
"lib": [
|
|
"es5",
|
|
"dom",
|
|
"es2015.collection",
|
|
"es2015.iterable",
|
|
"es2015.promise"
|
|
],
|
|
"types": [],
|
|
},
|
|
"files": [
|
|
"include-all.ts",
|
|
"node_modules/@types/jasmine/index.d.ts"
|
|
]
|
|
}
|