Typescript Type Array Object In Javascript Example Code