// valid uses of array literals var x = []; var x = new Array(1); var y = [1]; var y = [1, 2]; var y = new Array(); var x2: number[] = []; var x2: number[] = new Array(1); var y2: number[] = [1]; var y2: number[] = [1, 2]; var y2: number[] = new Array();