TypeScript/tests/cases/compiler/arraySlice.ts

3 lines
48 B
TypeScript
Raw Normal View History

2016-09-28 22:50:33 +02:00
var arr: string[] | number[];
arr.splice(1, 1);