mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3ef5ede6d6
In SNC mode `[]` has type of never[], so we cast it to any[] to typecheck correctly see https://github.com/Microsoft/TypeScript/issues/10479. This is temporary workaround, until we fully migrate the framework to TS 2.0 and strictNullChecks.