Skip to content

Instantly share code, notes, and snippets.

@Willmo36
Created March 30, 2020 15:03
Show Gist options
  • Save Willmo36/a3b63e8b6dfd9cff3386d79975c05c1a to your computer and use it in GitHub Desktop.
Save Willmo36/a3b63e8b6dfd9cff3386d79975c05c1a to your computer and use it in GitHub Desktop.
New TS syntax to me
interface CurriedFn2<A, B, R> {
<A>(a: A): CurriedFn1<B, R>
<A, B>(a: A, b: B): R
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment