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
This commit is contained in:
George Kalpakas
2018-06-20 13:29:37 +03:00
committed by Jason Aden
parent f841e36543
commit 7d1f9c8a7c
6 changed files with 8 additions and 8 deletions

View File

@ -10,7 +10,7 @@ export type Ng1Token = string;
export type Ng1Expression = string | Function;
export interface IAnnotatedFunction extends Function { $inject?: Ng1Token[]; }
export interface IAnnotatedFunction extends Function { $inject?: ReadonlyArray<Ng1Token>; }
export type IInjectable = (Ng1Token | Function)[] | IAnnotatedFunction;