super() typed as returning void #59959
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
💻 Code
🙁 Actual behavior
super() in constructor return the object but TS assumes it returns void:
🙂 Expected behavior
super() should return the object.
The text was updated successfully, but these errors were encountered: