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.
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.