Skip to content

AssertionError in flow/flow_lib/node.js is missing assert.fail([message]) #6799

Open
@farzonl

Description

assert.fail([message]) is missing, but the deprecated
assert.fail(actual, expected[, message[, operator[, stackStartFn]]]) syntax exists. So my correct use of the function is being flagged by the flow type checker.

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