Skip to content

[Flow] Function type parameters supports default arguments. #10083

@tanhauhau

Description

@tanhauhau

Feature Request

According to Flow release v0.101.0: https://github.com/facebook/flow/releases/tag/v0.101.0

Type Parameters default was enabled since facebook/flow@6d559d1, but now, it's allowed in function declaration as well in facebook/flow@c18ee0d

fyi @samwgoldman

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: flowoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions