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 recently came across an issue with this package where JSDoc comments in getters would get incorrectly downleveled and become regular multi-line comments, which lose all the properties of a JSDoc comment. Here's an example of that taken from the bson package
declareclassObjectId{/** * The generation time of this ObjectId instance * @deprecated Please use getTimestamp / createFromTime which returns an int32 epoch */getgenerationTime(): number;setgenerationTime(value: number);}
becomes
declareclassObjectId{/* * The generation time of this ObjectId instance * @deprecated Please use getTimestamp / createFromTime which returns an int32 epoch */generationTime: number;}
The text was updated successfully, but these errors were encountered:
ImRodry
changed the title
JSDocs are incorrectly downleveled
JSDoc comments are incorrectly downleveled
Mar 20, 2022
I recently came across an issue with this package where JSDoc comments in getters would get incorrectly downleveled and become regular multi-line comments, which lose all the properties of a JSDoc comment. Here's an example of that taken from the bson package
becomes
The text was updated successfully, but these errors were encountered: