mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
35 lines
695 B
JSON
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
|
|
}
|
|
}
|