diff --git a/typings/index.d.ts b/typings/index.d.ts index 18575b304..c98e7a16c 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -311,7 +311,7 @@ declare module 'discord.js' { public random(count: number): V[]; public randomKey(): K | undefined; public randomKey(count: number): K[]; - public reduce(fn: (accumulator: any, value: V, key: K, collection: Collection) => T, initialValue?: any): T; + public reduce(fn: (accumulator: T, value: V, key: K, collection: Collection) => T, initialValue?: T): T; public some(fn: (value: V, key: K, collection: Collection) => boolean, thisArg?: any): boolean; public sort(compareFunction?: (a: V, b: V, c?: K, d?: K) => number): Collection; public sweep(fn: (value: V, key: K, collection: Collection) => boolean, thisArg?: any): number;