questions/00059-hard-get-optional/README.ja.md
オプショナルなフィールドのみを残す高度なユーティリティ型 GetOptional<T> を実装してください。
例えば
type I = GetOptional<{ foo: number, bar?: string }> // expected to be { bar?: string }
<a href="../../README.ja.md" target="_blank"></a> <a href="https://tsch.js.org/59/answer/ja" target="_blank"></a> <a href="https://tsch.js.org/59/solutions" target="_blank"></a> <hr><h3>関連する課題</h3><a href="https://github.com/type-challenges/type-challenges/blob/main/questions/00057-hard-get-required/README.ja.md" target="_blank"></a> <!--info-footer-end-->