Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix toOrderedMap and toOrderedSet method definitions #761

Merged
merged 1 commit into from
Feb 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dist/immutable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<K, V>;
toOrderedMap(): OrderedMap<K, V>;

/**
* Converts this Iterable to a Set, discarding keys. Throws if values
Expand All @@ -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<V>;
toOrderedSet(): OrderedSet<V>;

/**
* Converts this Iterable to a List, discarding keys.
Expand Down
4 changes: 2 additions & 2 deletions type-definitions/Immutable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<K, V>;
toOrderedMap(): OrderedMap<K, V>;

/**
* Converts this Iterable to a Set, discarding keys. Throws if values
Expand All @@ -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<V>;
toOrderedSet(): OrderedSet<V>;

/**
* Converts this Iterable to a List, discarding keys.
Expand Down