Typescript Get Type Of Array Elementary