diff --git a/dist/immutable-nonambient.d.ts b/dist/immutable-nonambient.d.ts index ecbd212043..1c9c64b068 100644 --- a/dist/immutable-nonambient.d.ts +++ b/dist/immutable-nonambient.d.ts @@ -2177,7 +2177,7 @@ * Note: This is equivalent to `Immutable.is(this, other)`, but provided to * allow for chained expressions. */ - equals(other: Iterable): boolean; + equals(other: any): boolean; /** * Computes and returns the hashed identity for this Iterable. diff --git a/dist/immutable.d.ts b/dist/immutable.d.ts index 035171d609..aa89cf9afc 100644 --- a/dist/immutable.d.ts +++ b/dist/immutable.d.ts @@ -2177,7 +2177,7 @@ declare module Immutable { * Note: This is equivalent to `Immutable.is(this, other)`, but provided to * allow for chained expressions. */ - equals(other: Iterable): boolean; + equals(other: any): boolean; /** * Computes and returns the hashed identity for this Iterable. diff --git a/dist/immutable.js.flow b/dist/immutable.js.flow index 6360e88ded..5a1b8513a8 100644 --- a/dist/immutable.js.flow +++ b/dist/immutable.js.flow @@ -40,7 +40,7 @@ declare class _Iterable { static isAssociative(maybeAssociative: any): boolean; static isOrdered(maybeOrdered: any): boolean; - equals(other: Iterable): boolean; + equals(other: any): boolean; hashCode(): number; get(key: K): V; get(key: K, notSetValue: V_): V|V_; diff --git a/type-definitions/Immutable.d.ts b/type-definitions/Immutable.d.ts index 035171d609..aa89cf9afc 100644 --- a/type-definitions/Immutable.d.ts +++ b/type-definitions/Immutable.d.ts @@ -2177,7 +2177,7 @@ declare module Immutable { * Note: This is equivalent to `Immutable.is(this, other)`, but provided to * allow for chained expressions. */ - equals(other: Iterable): boolean; + equals(other: any): boolean; /** * Computes and returns the hashed identity for this Iterable. diff --git a/type-definitions/immutable.js.flow b/type-definitions/immutable.js.flow index 6360e88ded..5a1b8513a8 100644 --- a/type-definitions/immutable.js.flow +++ b/type-definitions/immutable.js.flow @@ -40,7 +40,7 @@ declare class _Iterable { static isAssociative(maybeAssociative: any): boolean; static isOrdered(maybeOrdered: any): boolean; - equals(other: Iterable): boolean; + equals(other: any): boolean; hashCode(): number; get(key: K): V; get(key: K, notSetValue: V_): V|V_;