Created
July 23, 2019 11:27
-
-
Save bholloway/e192513ffb03246295d295e0c667ca5a to your computer and use it in GitHub Desktop.
convert object fields to non-maybe types
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 NonMaybe<T> = $ObjMap<T, <U>(param: U) => $NonMaybeType<U>>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment