Fix #1632 -- fix typing for extend in lodash.d.ts