Typescript Turn Type Into Array Initialization Cppd