Typescript Create Array And Add Element To Dict