TypeScript/tests/cases/compiler/arraySlice.ts
2016-09-28 21:50:33 +01:00

3 lines
48 B
TypeScript

var arr: string[] | number[];
arr.splice(1, 1);