chore(compiler): emit ([] as any[]) instead of purely []. (#11846)
chore(compiler): emit ([] as any[]) instead of purely []. (#11846)

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.
trshafer/angular,e-hein/angular,NathanWalker/angular,xcaliber-tech/angular,ocombe/angular,diestrin/angular,sarunint/angular,juleskremer/angular,LucasSloan/angular,angular-indonesia/angular,cironunes/angular,blesh/angular,aboveyou00/angular,chalin/angular,aboveyou00/angular,chrisse27/angular,kegluneq/angular,itamark/angular,mhevery/angular,manekinekko/angular,tolemac/angular,wKoza/angular,blesh/angular,Mathou54/angular,dsebastien/angular,filipesilva/angular,chuckjaz/angular,mlaval/angular,alexeagle/angular,mprobst/angular,souvikbasu/angular,kara/angular,ultrasonicsoft/angular,angular-indonesia/angular,kegluneq/angular,vicb/angular,gnomeontherun/angular,itamark/angular,robwormald/angular,jonrimmer/angular,Mathou54/angular,e-hein/angular,dsebastien/angular,cexbrayat/angular,mzgol/angular,cexbrayat/angular,juleskremer/angular,robwormald/angular,kylecordes/angular,AlmogShaul/angular,heathkit/angular,sjtrimble/angular,heathkit/angular,graveto/angular,laskoviymishka/angular,jonrimmer/angular,mdegoo/angular,vinagreti/angular,itamark/angular,nosovk/angular,Brocco/angular,trshafer/angular,dsebastien/angular,tolemac/angular,aboveyou00/angular,vandres/angular,SaltyDH/angular,brandonroberts/angular,domusofsail/angular,mdegoo/angular,heathkit/angular,JSMike/angular,JiaLiPassion/angular,mlaval/angular,mgiambalvo/angular,domusofsail/angular,LucasSloan/angular,mhevery/angular,awerlang/angular,vicb/angular,tolemac/angular,jasonaden/angular,ocombe/angular,mdegoo/angular,diestrin/angular,manekinekko/angular,chajath/angular,juleskremer/angular,tbosch/angular,JiaLiPassion/angular,chuckjaz/angular,alexeagle/angular,mikeybyker/angular,alexeagle/angular,jasonaden/angular,cassand/angular,pk-karthik/framework-js-angular,jesperronn/angular,matsko/angular,vikerman/angular,smartm0use/angular,laskoviymishka/angular,vsavkin/angular,meeroslav/angular,pkozlowski-opensource/angular,matsko/angular,panuruj/angular,petebacondarwin/angular,meeroslav/angular,juristr/angular,ollie314/angular,jonrimmer/angular,rjamet/angular,mikeybyker/angular,pkozlowski-opensource/angular,xcaliber-tech/angular,diestrin/angular,sjtrimble/angular,snaptech/angular,jasonaden/angular,StephenFluin/angular,ghetolay/angular,AlmogShaul/angular,heathkit/angular,brandonroberts/angular,pkozlowski-opensource/angular,angular-indonesia/angular,chrisse27/angular,jasonaden/angular,smartm0use/angular,wKoza/angular,trshafer/angular,chuckjaz/angular,aboveyou00/angular,shairez/angular,alexeagle/angular,sjtrimble/angular,domusofsail/angular,mhevery/angular,mlaval/angular,mprobst/angular,heathkit/angular,shairez/angular,SaltyDH/angular,souvikbasu/angular,wKoza/angular,alxhub/angular,mgol/angular,StephenFluin/angular,dtoroshin/n2oDoc,rjamet/angular,NathanWalker/angular,Toxicable/angular,kwalrath/angular,pkozlowski-opensource/angular,Toxicable/angular,kylecordes/angular,hansl/angular,snaptech/angular,heathkit/angular,angularbrasil/angular,shairez/angular,Mathou54/angular,rkirov/angular,blesh/angular,mhevery/angular,gjungb/angular,vinagreti/angular,AlmogShaul/angular,dsebastien/angular,graveto/angular,kara/angular,chrisse27/angular,kwalrath/angular,dejour/angular,gkalpak/angular,not-for-me/angular,vinagreti/angular,gkalpak/angular,ghetolay/angular,petebacondarwin/angular,chrisse27/angular,AlmogShaul/angular,cassand/angular,cassand/angular,kwalrath/angular,mgol/angular,domusofsail/angular,hansl/angular,cironunes/angular,robwormald/angular,graveto/angular,juristr/angular,JSMike/angular,dtoroshin/n2oDoc,ValtoFrameworks/Angular-2,sarunint/angular,Brocco/angular,laskoviymishka/angular,juristr/angular,panuruj/angular,vamsivarikuti/angular,rkirov/angular,tbosch/angular,chalin/angular,pk-karthik/framework-js-angular,angularbrasil/angular,tolemac/angular,dejour/angular,ollie314/angular,JiaLiPassion/angular,royling/angular,angularbrasil/angular,vamsivarikuti/angular,Mathou54/angular,not-for-me/angular,vikerman/angular,vandres/angular,trshafer/angular,kegluneq/angular,gjungb/angular,kegluneq/angular,graveto/angular,cironunes/angular,ultrasonicsoft/angular,rkirov/angular,royling/angular,gkalpak/angular,mgol/angular,mgechev/angular,manekinekko/angular,LucasSloan/angular,smartm0use/angular,Brocco/angular,tbosch/angular,Toxicable/angular,shairez/angular,ghetolay/angular,gnomeontherun/angular,jasonaden/angular,ocombe/angular,mhevery/angular,Brocco/angular,snaptech/angular,gnomeontherun/angular,dtoroshin/n2oDoc,IgorMinar/angular,ValtoFrameworks/Angular-2,smartm0use/angular,NathanWalker/angular,vandres/angular,StephenFluin/angular,ultrasonicsoft/angular,kylecordes/angular,snaptech/angular,kegluneq/angular,gdi2290/angular,vicb/angular,jonrimmer/angular,mgechev/angular,vamsivarikuti/angular,NathanWalker/angular,hansl/angular,kara/angular,cexbrayat/angular,IgorMinar/angular,sjtrimble/angular,snaptech/angular,asnowwolf/angular,jesperronn/angular,royling/angular,ghetolay/angular,gdi2290/angular,hansl/angular,chalin/angular,laskoviymishka/angular,royling/angular,LucasSloan/angular,mprobst/angular,jesperronn/angular,mgechev/angular,jonrimmer/angular,juristr/angular,rkirov/angular,vandres/angular,mgiambalvo/angular,robwormald/angular,chuckjaz/angular,kara/angular,e-hein/angular,royling/angular,petebacondarwin/angular,angular/angular,asnowwolf/angular,mgechev/angular,vicb/angular,petebacondarwin/angular,shairez/angular,vikerman/angular,cassand/angular,ollie314/angular,cassand/angular,asnowwolf/angular,mzgol/angular,kwalrath/angular,IdeaBlade/angular,panuruj/angular,kara/angular,not-for-me/angular,meeroslav/angular,filipesilva/angular,mdegoo/angular,IgorMinar/angular,tbosch/angular,mikeybyker/angular,angular/angular,mlaval/angular,kara/angular,mgol/angular,chajath/angular,Toxicable/angular,alxhub/angular,mgechev/angular,chalin/angular,mprobst/angular,ValtoFrameworks/Angular-2,gjungb/angular,alxhub/angular,mdegoo/angular,awerlang/angular,alxhub/angular,aboveyou00/angular,juleskremer/angular,NathanWalker/angular,diestrin/angular,kylecordes/angular,mgol/angular,dsebastien/angular,gnomeontherun/angular,kylecordes/angular,dtoroshin/n2oDoc,wKoza/angular,domusofsail/angular,manekinekko/angular,smartm0use/angular,angular-indonesia/angular,manekinekko/angular,ultrasonicsoft/angular,IgorMinar/angular,chuckjaz/angular,jesperronn/angular,awerlang/angular,IdeaBlade/angular,pk-karthik/framework-js-angular,wKoza/angular,robwormald/angular,nosovk/angular,vsavkin/angular,mzgol/angular,rkirov/angular,xcaliber-tech/angular,tolemac/angular,cassand/angular,mikeybyker/angular,Brocco/angular,mlaval/angular,vinagreti/angular,not-for-me/angular,hansl/angular,kwalrath/angular,cironunes/angular,gdi2290/angular,mdegoo/angular,nosovk/angular,cexbrayat/angular,sarunint/angular,xcaliber-tech/angular,mgiambalvo/angular,aboveyou00/angular,e-hein/angular,mzgol/angular,dtoroshin/n2oDoc,laskoviymishka/angular,jonrimmer/angular,gdi2290/angular,petebacondarwin/angular,hansl/angular,sarunint/angular,gdi2290/angular,vicb/angular,asnowwolf/angular,angular/angular,IgorMinar/angular,rjamet/angular,ghetolay/angular,trshafer/angular,gjungb/angular,dsebastien/angular,brandonroberts/angular,angular/angular,panuruj/angular,panuruj/angular,IdeaBlade/angular,SaltyDH/angular,vsavkin/angular,kegluneq/angular,awerlang/angular,Toxicable/angular,cironunes/angular,JiaLiPassion/angular,matsko/angular,dejour/angular,cexbrayat/angular,kylecordes/angular,StephenFluin/angular,IdeaBlade/angular,pk-karthik/framework-js-angular,trshafer/angular,nosovk/angular,cironunes/angular,ocombe/angular,petebacondarwin/angular,AlmogShaul/angular,ultrasonicsoft/angular,nosovk/angular,chajath/angular,Brocco/angular,angularbrasil/angular,JSMike/angular,LucasSloan/angular,vicb/angular,graveto/angular,mikeybyker/angular,vikerman/angular,tbosch/angular,ultrasonicsoft/angular,brandonroberts/angular,sjtrimble/angular,alxhub/angular,blesh/angular,vsavkin/angular,vamsivarikuti/angular,asnowwolf/angular,chuckjaz/angular,blesh/angular,ValtoFrameworks/Angular-2,sarunint/angular,chajath/angular,souvikbasu/angular,mhevery/angular,filipesilva/angular,mgiambalvo/angular,dejour/angular,brandonroberts/angular,alexeagle/angular,alexeagle/angular,mprobst/angular,meeroslav/angular,chrisse27/angular,angularbrasil/angular,jasonaden/angular,ocombe/angular,vsavkin/angular,rjamet/angular,gkalpak/angular,NathanWalker/angular,meeroslav/angular,ollie314/angular,vinagreti/angular,juleskremer/angular,pk-karthik/framework-js-angular,ocombe/angular,juristr/angular,graveto/angular,mgiambalvo/angular,IdeaBlade/angular,wKoza/angular,souvikbasu/angular,brandonroberts/angular,gjungb/angular,SaltyDH/angular,chajath/angular,xcaliber-tech/angular,rkirov/angular,mzgol/angular,dejour/angular,pkozlowski-opensource/angular,itamark/angular,souvikbasu/angular,JSMike/angular,StephenFluin/angular,manekinekko/angular,JSMike/angular,vamsivarikuti/angular,vandres/angular,SaltyDH/angular,IgorMinar/angular,e-hein/angular,Toxicable/angular,Mathou54/angular,filipesilva/angular,ollie314/angular,ValtoFrameworks/Angular-2,vikerman/angular,gdi2290/angular,not-for-me/angular,matsko/angular,filipesilva/angular,LucasSloan/angular,snaptech/angular,itamark/angular,angularbrasil/angular,juristr/angular,jesperronn/angular,sarunint/angular,matsko/angular,robwormald/angular,awerlang/angular,mprobst/angular,mzgol/angular,vikerman/angular,tolemac/angular,mgol/angular