questions/00089-hard-required-keys/README.zh-CN.md
实现高级工具类型 RequiredKeys<T>,该类型返回 T 中所有必需属性的键组成的一个联合类型。
例如
type Result = RequiredKeys<{ foo: number; bar?: string }>
// expected to be “foo”
<a href="../../README.zh-CN.md" target="_blank"></a> <a href="https://tsch.js.org/89/answer/zh-CN" target="_blank"></a> <a href="https://tsch.js.org/89/solutions" target="_blank"></a> <hr><h3>相关挑战</h3><a href="https://github.com/type-challenges/type-challenges/blob/main/questions/00005-extreme-readonly-keys/README.zh-CN.md" target="_blank"></a> <!--info-footer-end-->