Make JSDocs follow general conventions (#582)

* Make JSDocs follow usual conventions

* Fix StringResolvable name

* Make function lowercase
This commit is contained in:
Schuyler Cebulskie
2016-09-03 04:57:25 -04:00
committed by Amish Shah
parent 44efcf3f52
commit 27652b94af
33 changed files with 262 additions and 262 deletions

View File

@@ -38,32 +38,32 @@ class Invite {
setup(data) {
/**
* The maximum age of the invite, in seconds
* @type {?Number}
* @type {?number}
*/
this.maxAge = data.max_age;
/**
* The code for this invite
* @type {String}
* @type {string}
*/
this.code = data.code;
this._creationDate = new Date(data.created_at).getTime();
/**
* Whether or not this invite is temporary
* @type {Boolean}
* @type {boolean}
*/
this.temporary = data.temporary;
/**
* How many times this invite has been used
* @type {Number}
* @type {number}
*/
this.uses = data.uses;
/**
* The maximum uses of this invite
* @type {Number}
* @type {number}
*/
this.maxUses = data.max_uses;