Typescript Array With Key Value Javascript Compiler Offline