si-funciona
Version:
Funciones de utilidad para uso general. [General usage utility functions.]
12 lines (11 loc) • 419 B
TypeScript
import 'core-js/stable';
/**
* Return a curried version of the passed function.
* The returned function expects the same number of arguments minus the ones provided.
* fn is the name of the function being curried.
* @memberOf module:functionHelpers
* @param {Function} fn - Receives a function to be curried
* @returns {Function|*}
*/
declare const curry: (fn: Function) => Function | any;
export default curry;