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

2
typings/index.d.ts vendored
View File

@@ -283,7 +283,7 @@ declare module 'discord.js' {
}
export class TeamMember extends Base {
constructor(client: Client, team: Team, data: object);
constructor(team: Team, data: object);
public team: Team;
public readonly id: Snowflake;
public permissions: string[];