Skip to content

Commit

Permalink
Merge pull request #846 from salzhrani/patch-1
Browse files Browse the repository at this point in the history
Set fromJS first argument type to any
  • Loading branch information
leebyron committed Apr 18, 2016
2 parents 415c144 + 081f99d commit f4d4cc8
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 @@ -606,7 +606,7 @@ declare class Record<T: Object> {
remove(key: $Keys<T>): /*T & Record<T>*/this;
}

declare function fromJS(json: Object, reviver?: (k: any, v: Iterable<any,any>) => any): any;
declare function fromJS(json: any, reviver?: (k: any, v: Iterable<any,any>) => any): any;
declare function is(first: any, second: any): boolean;

export {
Expand Down

0 comments on commit f4d4cc8

Please sign in to comment.