diff --git a/dist/immutable.d.ts b/dist/immutable.d.ts index 7afabb3e53..f4f8fa0960 100644 --- a/dist/immutable.d.ts +++ b/dist/immutable.d.ts @@ -1863,7 +1863,7 @@ declare module Immutable { * Note: This is equivalent to `OrderedMap(this.toKeyedSeq())`, but * provided for convenience and to allow for chained expressions. */ - toOrderedMap(): Map; + toOrderedMap(): OrderedMap; /** * Converts this Iterable to a Set, discarding keys. Throws if values @@ -1881,7 +1881,7 @@ declare module Immutable { * Note: This is equivalent to `OrderedSet(this.valueSeq())`, but provided * for convenience and to allow for chained expressions. */ - toOrderedSet(): Set; + toOrderedSet(): OrderedSet; /** * Converts this Iterable to a List, discarding keys. diff --git a/type-definitions/Immutable.d.ts b/type-definitions/Immutable.d.ts index 7afabb3e53..f4f8fa0960 100644 --- a/type-definitions/Immutable.d.ts +++ b/type-definitions/Immutable.d.ts @@ -1863,7 +1863,7 @@ declare module Immutable { * Note: This is equivalent to `OrderedMap(this.toKeyedSeq())`, but * provided for convenience and to allow for chained expressions. */ - toOrderedMap(): Map; + toOrderedMap(): OrderedMap; /** * Converts this Iterable to a Set, discarding keys. Throws if values @@ -1881,7 +1881,7 @@ declare module Immutable { * Note: This is equivalent to `OrderedSet(this.valueSeq())`, but provided * for convenience and to allow for chained expressions. */ - toOrderedSet(): Set; + toOrderedSet(): OrderedSet; /** * Converts this Iterable to a List, discarding keys.