Change resolver type to Function in lodash.d.ts

Change to support functions with arbitrary number of inputs, not just one.