Skip to content

Primitive type guards require typeof to be on the left hand side of the comparison #9020

Closed
@dargoner

Description

@dargoner

Typecript method, the parameter does not support the function and the character of the joint type, prompt TS2345 error

image

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions