You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm adding type annotations to a JS codebase, and one problematic case I've come across is that I cannot overload function signatures using comment-based annotations.
The workaround for now would be splitting the function into two functions, or type-casting at each use of the function. So far my choice will be to split the function.
The text was updated successfully, but these errors were encountered:
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
I'm adding type annotations to a JS codebase, and one problematic case I've come across is that I cannot overload function signatures using comment-based annotations.
The workaround for now would be splitting the function into two functions, or type-casting at each use of the function. So far my choice will be to split the function.
The text was updated successfully, but these errors were encountered: