fix(JSDoc): Invalid docs

This commit is contained in:
March 7th 2022-07-07 01:47:08 +07:00
parent fd17a6a6f0
commit 5246129553
2 changed files with 2 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -66,7 +66,6 @@ class CustomStatus {
/**
* Returns an object that can be used to set the status
* @returns {CustomStatus}
* @example
*/
toJSON() {
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();
/**
* Flags that describe the activity
* @type {Readonly<ActivityFlags>}
* @type {ActivityFlags}
*/
this.flags = 48; // Sync + Play (ActivityFlags)
/**