Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jun 28, 2024
1 parent f1ec4be commit b8773e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/curry/flip.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function flip<Arg1, Arg2, Result>(
fn: (arg1: Arg1, arg2: Arg2) => Result
fn: (arg1: Arg1, arg2: Arg2) => Result,
): (arg2: Arg2, arg1: Arg1) => Result {
return (arg2, arg1) => fn(arg1, arg2)
}

0 comments on commit b8773e5

Please sign in to comment.