mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
To make our test output i.e. devmode output more aligned with what we produce in the NPM packages, or to be more aligned with what Angular applications will usually consume, the devmode output is switched from ES5 to ES2015. Additionally various tsconfigs (outside of Bazel) have been updated to match with the other parts of the build. The rules are: ES2015 for test configurations, ES2020 for actual code that will end up being shipped (this includes the IDE-only tsconfigs). PR Close #44505
16 lines
330 B
JSON
16 lines
330 B
JSON
/**
|
|
* Root tsconfig file for use in all tests.
|
|
*/
|
|
{
|
|
"extends": "./tsconfig-build.json",
|
|
"compilerOptions": {
|
|
"types": ["node", "jasmine"],
|
|
"plugins": [{
|
|
"name": "@bazel/tsetse",
|
|
"disabledRules": ["must-use-promises"]
|
|
}]
|
|
},
|
|
"bazelOptions": {
|
|
"suppressTsconfigOverrideWarnings": true
|
|
}
|
|
}
|