Skip to content

Make flow types available by including source file in NPM release. #400

Closed
@nmn

Description

@nmn

If the build system is updated to to just copy all the source files with the .js.flow extension next to the built files, flow will pick up the type definitions.

Further, this is the best way to provide flow type definitions as there is no need to maintain a separate type definition file and changes in the source code will automatically show for users using the library.

(Will try to do a PR)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions