Created
March 23, 2021 19:39
-
-
Save eamonnboyle/e7b1f9bca30c6198ed95d9f772fa4933 to your computer and use it in GitHub Desktop.
Remapping Tuple of Promises
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 RemapPromises<T extends [...any[]]> = Promise<UnwrapPromises<T>>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment