Created
October 20, 2019 12:21
-
-
Save nicu-chiciuc/a91a9d3e345908635cc3ae79e0f7f4f0 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 UnpackPromise<T> = T extends Promise<infer U> ? U : T; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment