Skip to content

Function has no callable signature #3317

Open
@Naddiseo

Description

@Naddiseo

Function.prototype should be a callable property, currently flow complains that there is no "Callable signature".

The following is valid javascript, thus should not have flow errors:

/* @flow */
const noop = Function.prototype;
noop();

flow try

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Typing: completenessNo false positives (type checker claims that there are some errors in the correct program)enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions