Closed quark-ftc closed 2 months ago
When I write a type-checking function using a normal function (without the is predicate), the plugin prompts an error But when I rewrite it as an arrow function, the plugin doesn't give an error, but the TS compiler still gives an error
Please also share the code as text, not just screenshots
Closing as more info needed
When I write a type-checking function using a normal function (without the is predicate), the plugin prompts an error But when I rewrite it as an arrow function, the plugin doesn't give an error, but the TS compiler still gives an error