Andrew Goode

Results 3 comments of Andrew Goode

The fix mentioned above may have addressed this particular issue, but unfortunately it hasn't resolved issues with other similar scenarios. In related issue https://github.com/microsoft/TypeScript/issues/51359#issuecomment-1312606780, I tested behaviours for various scenarios:...

My original post was only about JavaScript in VS Code. Since @fatcerberus mentioned that the problem is likely due to the method being incorrectly interpreted as a constructor function, I...

@RyanCavanaugh I accept that inference won't always give the expected result, but you also said: > It's always possible to annotate your way out of heuristic misdetections Unfortunately that is...