types(GuildMemberManager): Non-void return of edit() (v13)

v13.9 #8187
This commit is contained in:
March 7th 2022-07-04 12:17:37 +07:00
parent 86cbddb3cc
commit f3a8c3a666

2
typings/index.d.ts vendored
View File

@ -3469,7 +3469,7 @@ export class GuildMemberManager extends CachedManager<Snowflake, GuildMember, Gu
): Promise<GuildMember | null>;
public add(user: UserResolvable, options: AddGuildMemberOptions): Promise<GuildMember>;
public ban(user: UserResolvable, options?: BanOptions): Promise<GuildMember | User | Snowflake>;
public edit(user: UserResolvable, data: GuildMemberEditData, reason?: string): Promise<void>;
public edit(user: UserResolvable, data: GuildMemberEditData, reason?: string): Promise<GuildMember>;
public fetch(
options: UserResolvable | FetchMemberOptions | (FetchMembersOptions & { user: UserResolvable }),
): Promise<GuildMember>;