fix(typings): ReactionUserStore#fetch returns a Collection

fixes #2895
This commit is contained in:
Lewdcario
2018-10-13 20:09:19 -05:00
parent 73b9b0e62b
commit 9cf50d05f2
2 changed files with 2 additions and 2 deletions

2
typings/index.d.ts vendored
View File

@@ -1372,7 +1372,7 @@ declare module 'discord.js' {
export class ReactionUserStore extends DataStore<Snowflake, User, typeof User, UserResolvable> {
constructor(client: Client, iterable: Iterable<any> | undefined, reaction: MessageReaction);
public fetch(options?: { limit?: number, after?: Snowflake, before?: Snowflake }): Promise<this>;
public fetch(options?: { limit?: number, after?: Snowflake, before?: Snowflake }): Promise<Collection<Snowflake, User>>;
public remove(user?: UserResolvable): Promise<MessageReaction>;
}