Previously, we were using [@types/angularjs][1], which is deprecated and outdated (hasn't been updated for over two years). This PR switches to [@types/angular][2], which is regularly updated (based on the definitions on [DefinitelyTyped][3]). [1]: https://www.npmjs.com/package/@types/angularjs [2]: https://www.npmjs.com/package/@types/angular [3]: https://github.com/DefinitelyTyped/DefinitelyTyped PR Close #24583
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"declaration": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"strictNullChecks": true,
|
|
"strictPropertyInitialization": true,
|
|
"outDir": "../dist/all/@angular",
|
|
"noImplicitAny": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"paths": {
|
|
"selenium-webdriver": ["../node_modules/@types/selenium-webdriver/index.d.ts"],
|
|
"rxjs/*": ["../node_modules/rxjs/*"],
|
|
"@angular/*": ["./*"],
|
|
"e2e_util/*": ["../modules/e2e_util/*"]
|
|
},
|
|
"rootDir": ".",
|
|
"inlineSourceMap": true,
|
|
"lib": ["es5", "dom", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.core"],
|
|
"skipDefaultLibCheck": true,
|
|
"skipLibCheck": true,
|
|
"target": "es5",
|
|
"types": ["angular"]
|
|
},
|
|
"bazelOptions": {
|
|
"suppressTsconfigOverrideWarnings": true
|
|
},
|
|
"exclude": [
|
|
"bazel",
|
|
"compiler-cli/integrationtest",
|
|
"platform-server/integrationtest",
|
|
"common/locales",
|
|
"elements/schematics"
|
|
]
|
|
|
|
}
|