Get Optional hard #utils #infer

by Zheeeng @zheeeng

Take the Challenge    简体中文 日本語

Implement the advanced util type `GetOptional`, which remains all the optional fields For example ```ts type I = GetOptional<{ foo: number, bar?: string }> // expected to be { bar?: string } ```
Back Share your Solutions Check out Solutions

Related Challenges

57・Get Required