Typescript Infer Type Of Array Elementary