diff --git a/src/stores/ReactionUserStore.js b/src/stores/ReactionUserStore.js index dace1e94c..1b0275795 100644 --- a/src/stores/ReactionUserStore.js +++ b/src/stores/ReactionUserStore.js @@ -18,7 +18,7 @@ class ReactionUserStore extends DataStore { * @param {number} [options.limit=100] The maximum amount of users to fetch, defaults to 100 * @param {Snowflake} [options.before] Limit fetching users to those with an id lower than the supplied id * @param {Snowflake} [options.after] Limit fetching users to those with an id greater than the supplied id - * @returns {Promise>} + * @returns {Promise>} */ async fetch({ limit = 100, after, before } = {}) { const message = this.reaction.message; diff --git a/typings/index.d.ts b/typings/index.d.ts index 6491a4703..f431c3d19 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1372,7 +1372,7 @@ declare module 'discord.js' { export class ReactionUserStore extends DataStore { constructor(client: Client, iterable: Iterable | undefined, reaction: MessageReaction); - public fetch(options?: { limit?: number, after?: Snowflake, before?: Snowflake }): Promise; + public fetch(options?: { limit?: number, after?: Snowflake, before?: Snowflake }): Promise>; public remove(user?: UserResolvable): Promise; }