-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Sorry in advance for what might be an unhelpful report. I somehow wrote some code that causes the no-unnecessary-type-annotation
rule to get stuck in an infinite loop inside removeSignatureReturn
. It is getting passed the string '<A extends Action>(action: A): A'
, which appears to come from the redux type definitions. The function seems to assume the first char will be (
, but in my case it is <
. Fixing that localized issue is easy, but I have no idea what broader conditions caused that to happen, or how you'd write a test for it.
Metadata
Metadata
Assignees
Labels
No labels