Created
November 27, 2021 10:52
-
-
Save realiarthur/aefa96f1ac75adaf8d753a9442960818 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Nullable<T, NullKeys = false> = NullKeys extends true ? { [key in keyof T]: null | T[key] } : T | null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment