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

Update flow definition to match docs #1710

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions type-definitions/immutable.js.flow
Expand Up @@ -1496,13 +1496,13 @@ declare class RecordInstance<T: Object = Object> {
}

declare function fromJS(
jsValue: mixed,
jsValue: any,
reviver?: (
key: string | number,
sequence: KeyedCollection<string, mixed> | IndexedCollection<mixed>,
sequence: Collection.Keyed<string, any> | Collection.Indexed<any>,
path?: Array<string | number>
) => mixed
): mixed;
) => any
): any;

declare function is(first: mixed, second: mixed): boolean;
declare function hash(value: mixed): number;
Expand Down