TypeScript/tests/cases/compiler/genericArrayMethods1.ts
2014-07-12 17:30:19 -07:00

2 lines
65 B
TypeScript

var x:string[] = [0,1].slice(0); // this should be an error