Skip to content

Documentation is wrong for RecordFactory #1672

Open
@brundonsmith

Description

@brundonsmith

The docs mention a RecordFactory<T> type for Flow and TypeScript, but at least in TypeScript it's actually Record.Factory<T>, which took some time to figure out. My Immutable.js version is 4.0.0-rc.12; I haven't tried it in Flow. It's also a little odd that given this, RecordOf<T> isn't also Record.Of<T>, but maybe there's a reason for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions