Created
October 20, 2019 12:21
-
-
Save nicu-chiciuc/6703d1c53ae8a834467e9aa2881a06f6 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
export type FirstArgument<T> = T extends (val: infer R) => any ? R : never; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment