Open trim21 opened 1 year ago
raise a error for this:
bad:
// function comment not recognized by tsc const getShortName = (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 */ const getShortName = (name: string): string => { ... }
raise a error for this:
bad:
tsc doesn't think this is a function comment and doesn't emit it in type definition.
good: