declare module 'lodash/has' { function has( obj: T, prop: Key, ): obj is T & Record { return has(obj, prop); } export default has; }