Fix #1631 -- better typing for resolver in lodash