Skip to content

Commit

Permalink
Fixed Flow Map initializer declaration to work correctly with objects
Browse files Browse the repository at this point in the history
  • Loading branch information
wokalski committed May 18, 2016
1 parent f31e5c2 commit ea50739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion type-definitions/immutable.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ declare class List<T> extends IndexedCollection<T> {
}

declare class Map<K,V> extends KeyedCollection<K,V> {
static <K, V>(): Map<K, V>;
static <K,V>(_: void): Map<K,V>;
static <V>(obj?: {[key: string]: V}): Map<string, V>;
static <K, V>(iterable?: ESIterable<[K,V]>): Map<K, V>;

Expand Down

0 comments on commit ea50739

Please sign in to comment.