mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7cba3f3834
Updates the primary tsconfig files to use ES2020 as target and module. This helps IDEs and reflects what we generate in production, allowing the use of JS features that are natively supported in APF v13. PR Close #43431
14 lines
583 B
JSON
14 lines
583 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"target": "ES5",
|
|
"module": "commonjs",
|
|
// The project uses Bazel for TypeScript compilation. Unlike with Bazel, we build all
|
|
// sources as part of a single TypeScript compilation. This results in `@internal`
|
|
// declarations not being omitted between the logical as defined per the Bazel targets.
|
|
// This can cause issues where the `override` keyword is needed for the legacy TS
|
|
// compilation, but not within Bazel where the overridden member has `@internal`.
|
|
"noImplicitOverride": false
|
|
}
|
|
}
|