fix(JSDoc): Invalid docs
This commit is contained in:
parent
fd17a6a6f0
commit
5246129553
File diff suppressed because one or more lines are too long
@ -66,7 +66,6 @@ class CustomStatus {
|
|||||||
/**
|
/**
|
||||||
* Returns an object that can be used to set the status
|
* Returns an object that can be used to set the status
|
||||||
* @returns {CustomStatus}
|
* @returns {CustomStatus}
|
||||||
* @example
|
|
||||||
*/
|
*/
|
||||||
toJSON() {
|
toJSON() {
|
||||||
if (!this.emoji & !this.state) throw new Error('CustomStatus must have at least one of emoji or state');
|
if (!this.emoji & !this.state) throw new Error('CustomStatus must have at least one of emoji or state');
|
||||||
@ -434,7 +433,7 @@ class SpotifyRPC extends RichPresence {
|
|||||||
this.created_at = Date.now();
|
this.created_at = Date.now();
|
||||||
/**
|
/**
|
||||||
* Flags that describe the activity
|
* Flags that describe the activity
|
||||||
* @type {Readonly<ActivityFlags>}
|
* @type {ActivityFlags}
|
||||||
*/
|
*/
|
||||||
this.flags = 48; // Sync + Play (ActivityFlags)
|
this.flags = 48; // Sync + Play (ActivityFlags)
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user