angular-docs-cn/packages/examples/tsconfig-build.json
George Kalpakas 7d1f9c8a7c build: upgrade AngularJS typings (#24583)
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
2018-06-25 09:30:46 -07:00

24 lines
637 B
JSON

{
"extends": "../tsconfig-build.json",
"compilerOptions": {
"module": "commonjs",
"emitDecoratorMetadata": true,
"baseUrl": ".",
"rootDir": ".",
"paths": {
"@angular/*": ["../../dist/packages-dist/*"],
"rxjs/*": ["../../node_modules/rxjs/*"]
},
"outDir": "../../dist/examples",
"types": ["jasmine", "node", "angular", "systemjs"]
},
"include": [
"./**/*.ts",
"../../node_modules/zone.js/dist/zone.js.d.ts",
// TODO(i): we can't use protractor's built-in typings because they contain lots of ambient definitions
"../../node_modules/@types/protractor/index.d.ts"
]
}