Typescript Array Addrange Method