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
exportfunctionoverloaded(value){if(typeofvalue==='number'){returnvalue*2;}if(typeofvalue==='string'){returnvalue+'';}value;thrownewError('Invalid value supplied');}
🙂 Expected behavior
/** * Missing jsDoc comment */exportfunctionoverloaded(value){if(typeofvalue==='number'){returnvalue*2;}if(typeofvalue==='string'){returnvalue+'';}value;thrownewError('Invalid value supplied');}
The text was updated successfully, but these errors were encountered:
Bug Report
TypeScript removes JSDoc comments from above overloaded functions regardless of
removeComments
.🔎 Search Terms
comment; removeComments; overloaded comments;
🕗 Version & Regression Information
This is present in all versions from v3.3.3 and above, likely below as well.
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
🙂 Expected behavior
The text was updated successfully, but these errors were encountered: