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
// function comment not recognized by tscconstgetShortName=(name: string): string=>{
...
}
tsc doesn't think this is a function comment and doesn't emit it in type definition.
good:
/** * function comment not recognized by tsc */constgetShortName=(name: string): string=>{
...
}
The text was updated successfully, but these errors were encountered:
trim21
changed the title
eslint-plugin-tsdoc: suggest a rule to check function comment
eslint-plugin-tsdoc: suggest a rule to check misused function comment
Apr 27, 2023
raise a error for this:
bad:
tsc doesn't think this is a function comment and doesn't emit it in type definition.
good:
The text was updated successfully, but these errors were encountered: