How To Access Array Element In Typescript