Argument of type 'this' is not assignable to parameter of type 'NonNullable'? #41340
Labels
Effort: Difficult
Good luck.
Experimentation Needed
Someone needs to try this out to see what happens
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
TypeScript Version: 4.0.3
Search Terms: 'this' is not assignable to 'NonNullable'
Code
Expected behavior:
Conditional call without errors.
Actual behavior:
Error: Argument of type 'this' is not assignable to parameter of type 'NonNullable'
Playground Link: Playground
Related Issues:
The text was updated successfully, but these errors were encountered: