import * as _ from 'underscore';
const partialFunction = _.partial(function, _, fixedArgument);
triggers a type error. I attempted to type cast the _
argument using <any>
but the problem persisted.
What is the correct way to utilize _.partial
in TypeScript?