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