do not unwrap index elements in TypeScript when resolving type name