questions/00059-hard-get-optional/README.md
Implement the advanced util type GetOptional<T>, which remains all the optional fields
For example
type I = GetOptional<{ foo: number, bar?: string }> // expected to be { bar?: string }
<a href="../../README.md" target="_blank"></a> <a href="https://tsch.js.org/59/answer" target="_blank"></a> <a href="https://tsch.js.org/59/solutions" target="_blank"></a> <hr><h3>Related Challenges</h3><a href="https://github.com/type-challenges/type-challenges/blob/main/questions/00057-hard-get-required/README.md" target="_blank"></a> <!--info-footer-end-->