docs(ClientUser): mark email field as user account only property (#2306)

* Store Mail - User Account Only

Added that info

* docs(ClientUser): mark email field as nullable
This commit is contained in:
Lasse Niermann
2018-02-01 20:06:59 +01:00
committed by Unknown
parent 32e2dd212e
commit 31873eb3a5

View File

@@ -22,7 +22,8 @@ class ClientUser extends Structures.get('User') {
/**
* The email of this account
* @type {string}
* <warn>This is only filled when using a user account.</warn>
* @type {?string}
*/
this.email = data.email;
this._typing = new Map();