curry-ts
v0.1.3
Published
A type-safe currying library for TypeScript
Downloads
13
Readme
curry-ts
Puts lodash.curry
in a type-safe wrapper. Installing @types/lodash.curry
results in any
return type on all functions because it is a single function that supports arbitrary arity. This library does not support arbitrary arity on a function. You must specify curry1
, curry2
, curry3
, curry4
or curry5
for one arugment, two arguments, three arguments, four arguments and five arguments, respectively.
Installing
yarn add curry-ts
License
MIT