mirror of
https://github.com/angular/angular.git
synced 2026-11-24 07:27:53 -05:00
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.