mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
clean up lang.d.ts
This commit is contained in:
Vendored
+1
-4
@@ -133,8 +133,6 @@ declare module "../index" {
|
||||
}
|
||||
|
||||
interface Stat {
|
||||
isArrayLike<T>(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<TValue> {
|
||||
@@ -145,8 +143,7 @@ declare module "../index" {
|
||||
}
|
||||
|
||||
interface Stat {
|
||||
isArrayLikeObject(value: ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is never;
|
||||
isArrayLikeObject<T extends object>(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<TValue> {
|
||||
isArrayLikeObject(): boolean;
|
||||
|
||||
Reference in New Issue
Block a user