Overloads Are Not Generated as Expected When Using @Overload
Tag to Declare Overloads of Functions Assigned to a Prototype
#53181
Labels
Milestone
Bug Report
When using the
@overload
tag to declare overloads of functions assigned to a prototype (e.g.Foo.prototype.bar
) the overloads are not generated as expected. However, for functions that are not assigned to a prototype it works.🔎 Search Terms
overload
🕗 Version & Regression Information
overload
⏯ Playground Link
Playground link with relevant code
💻 Code
Type declarations are generated for the following code:
🙁 Actual behavior
🙂 Expected behavior
Compare this to generating type declarations for the following code:
Result:
The text was updated successfully, but these errors were encountered: