refactor(TeamMember): remove client from constructor (#3409)

* Remove client from TeamMember constructor part 1

* Remove client from TeamMember constructor part 2

* update typings
This commit is contained in:
Gryffon Bellish
2019-08-17 12:24:16 -04:00
committed by SpaceEEC
parent b662678f21
commit ab27dd0218
3 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ const { MembershipStates } = require('../util/Constants');
* @extends {Base}
*/
class TeamMember extends Base {
constructor(client, team, data) {
super(client);
constructor(team, data) {
super(team.client);
/**
* The Team this member is part of