That's why TypeScript 4.1 allows you to re-map keys in mapped types with a new as clause. type MappedTypeWithNewKeys<T> ...
確定! 回上一頁