-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathtsconfig.json
More file actions
40 lines (40 loc) · 1.47 KB
/
Copy pathtsconfig.json
File metadata and controls
40 lines (40 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"compilerOptions": {
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"exactOptionalPropertyTypes": true,
"experimentalDecorators": true,
"importHelpers": true,
"inlineSourceMap": true,
"lib": ["dom", "es2021", "dom.iterable"],
"moduleResolution": "bundler",
"module": "es2022",
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"skipLibCheck": true,
"strict": true,
// Don't scan the node_modules/@types folder for ambient types.
// This would force us to have all the types in the dependencies of
// each library.
// Instead we'll be explicit about declaring ambient type dependencies
// using the ///<reference types=""/> syntax.
"types": [],
"plugins": [
{
"name": "@bazel/tsetse",
// disabled: concatjs pins tsutils to 3.21.0, which predates TS 5.9 and
// is incompatible with these two rules. ban-promise-as-condition
// crashes the compiler, must-use-promises misfires on the one
// awaited call in alert_display_snackbar_container.ts.
"disabledRules": ["ban-promise-as-condition", "must-use-promises"]
}
]
},
"angularCompilerOptions": {
"strictTemplates": true,
// TODO(@cdavalos): Set this back to true after these containers stop using AsyncPipe
// for inputs. AsyncPipe can return null, so Angular currently rejects these bindings.
"strictNullInputTypes": false
}
}