Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f4d4cc8

Browse filesBrowse files
committed
Merge pull request immutable-js#846 from salzhrani/patch-1
Set fromJS first argument type to any
2 parents 415c144 + 081f99d commit f4d4cc8
Copy full SHA for f4d4cc8

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎type-definitions/immutable.js.flow

Copy file name to clipboardExpand all lines: type-definitions/immutable.js.flow
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ declare class Record<T: Object> {
606606
remove(key: $Keys<T>): /*T & Record<T>*/this;
607607
}
608608

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

612612
export {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.