docs(BitField): document constructors of deriving classes (#3903)

This commit is contained in:
SpaceEEC
2020-03-07 06:00:48 +01:00
committed by GitHub
parent b5a7e5cdf0
commit bca4b038a5
7 changed files with 44 additions and 2 deletions

View File

@@ -7,6 +7,13 @@ const BitField = require('./BitField');
*/
class Intents extends BitField {}
/**
* @name Intents
* @kind constructor
* @memberof Intents
* @param {IntentsResolvable} [bits=0] Bit(s) to read from
*/
/**
* Data that can be resolved to give a permission number. This can be:
* * A string (see {@link Intents.FLAGS})