The JSDoc from https://github.com/Chatie/wechaty/blob/master/src/user/room.ts#L422-L430 has not been published properly at https://chatie.io/wechaty/#Room+say
There might be other classes missed as well, which need to be invested & fixed.
If we use a @private to document a constructor of the class, then this class will not be documented by the JSDoc.
Like the following code:
In order to keep the constructor out of the document, we need to use @hideconstructor.
Most helpful comment
The Problem
If we use a
@privateto document a constructor of the class, then this class will not be documented by the JSDoc.Like the following code:
https://github.com/Chatie/wechaty/blob/df0aec498b3f7c4145082aff9403f27bd43ee4bd/src/user/room.ts#L270-L273
The Solution
In order to keep the constructor out of the document, we need to use
@hideconstructor.See: https://stackoverflow.com/a/52566418/1123955