Typescript Define Array Key In Javascript Object To String In Java