angular/packages/core/schematics/tsconfig.json
Alan Agius 0f2937ef83 refactor: update code to be ES2022 compliant (#49559)
This commit updates parts of the FW to be ES2022 complaint.

These changes are needed to fix the following problems problems with using properties before they are initialized.

Example
```ts
class Foo {
   bar = this.buz;
   constructor(private buz: unknown){}
}
```

PR Close #49559
2023-03-23 08:18:45 -07:00

35 lines
695 B
JSON

{
"compilerOptions": {
"noImplicitReturns": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"strict": true,
"moduleResolution": "node",
"target": "es2022",
"lib": [
"es2019"
],
"types": [
"jasmine"
],
"baseUrl": ".",
"paths": {
"@angular/core": [
"../"
],
"@angular/compiler": [
"../../compiler"
],
"@angular/compiler-cli": [
"../../compiler-cli"
],
"@angular/compiler-cli/private/*": [
"../../compiler-cli/private/*"
]
}
},
"bazelOptions": {
"suppressTsconfigOverrideWarnings": true
}
}