mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
5579d96c60
With the recent lock file maintenance, the `@types/angular` dependency ended up being duplicated. This seems to happen because we locked our type dependency, but other Angular deps like `angular-route` had a looser dependency, resulting in e.g. `1.7` types and `1.8` types to be loaded. This ultimately ended up breaking TypeScript's auto-discovering of types and broke some example compilations e.g. ``` app/app.animations.ts(3,3): error TS2339: Property 'animation' does not exist on type 'IModule'. app/app.config.ts(5,45): error TS2694: Namespace 'angular' has no exported member 'route'. app/phone-detail/phone-detail.component.ajs.ts(10,37): error TS2694: Namespace 'angular' has no exported member 'route'. ``` We fix this by loosening the type dependency ranges, updating all of these. Also we update AngularJS itself to the final version. PR Close #46840