From d74fe3f10e2ac28c3faf05a2e7db3927c0bb5b34 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Mon, 22 Apr 2019 11:38:00 -0700 Subject: [PATCH] clean up lang.d.ts --- types/lodash/common/lang.d.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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;