diff --git a/types/lodash/common/lang.d.ts b/types/lodash/common/lang.d.ts index c638e780af..759e7995a1 100644 --- a/types/lodash/common/lang.d.ts +++ b/types/lodash/common/lang.d.ts @@ -133,8 +133,6 @@ declare module "../index" { } interface Stat { - isArrayLike(value: T & string & number): boolean; // should only match if T = any - isArrayLike(value: ((...args: any[]) => any) | null | undefined): value is never; isArrayLike(value: any): value is { length: number }; } interface Imp { @@ -145,8 +143,7 @@ declare module "../index" { } interface Stat { - isArrayLikeObject(value: ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is never; - isArrayLikeObject(value: T | ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is T & { length: number }; + isArrayLikeObject(value: any): value is object & { length: number }; } interface Imp { isArrayLikeObject(): boolean;