Skip to content

Cascading errors on right hand side of instanceof operator #733

@JsonFreeman

Description

@JsonFreeman

When we cannot find a symbol on the right hand side of an instanceof operator, we still report the error that says the RHS must be any or assignable to Function. We really should suppress this error, or rather, we should propagate the unknown/any symbol so that there is no downstream error.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions