Typescript Get Type In Array Javascript Documentation Mdn