8000 Follow up to #1376, fixing issue with SetSeq constructor · lisongyu/immutable-js@3e671a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e671a2

Browse files
committed
Follow up to immutable-js#1376, fixing issue with SetSeq constructor
1 parent af7dc6f commit 3e671a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

type-definitions/immutable.js.flow

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ declare class KeyedSeq<K, +V> extends Seq<K, V> mixins KeyedCollection<K, V> {
503503
}
504504

505505
declare class IndexedSeq<+T> extends Seq<number, T> mixins IndexedCollection<T> {
506-
static <T>(iter?: Iterable<T>): IndexedSeq<T>;
506+
static <T>(values?: Iterable<T>): IndexedSeq<T>;
507507

508508
static of<T>(...values: T[]): IndexedSeq<T>;
509509

@@ -630,7 +630,7 @@ declare class IndexedSeq<+T> extends Seq<number, T> mixins IndexedCollection<T>
630630
}
631631

632632
declare class SetSeq<+T> extends Seq<T, T> mixins SetCollection<T> {
633-
static <T>(iter?: Iterable<T>): IndexedSeq<T>;
633+
static <T>(values?: Iterable<T>): SetSeq<T>;
634634

635635
static of<T>(...values: T[]): SetSeq<T>;
636636

0 commit comments

Comments
 (0)
0