From 4b6e8fcab5324392d9b91822006c05d2f4819a40 Mon Sep 17 00:00:00 2001 From: Ryan Munro Date: Mon, 1 Apr 2019 18:36:03 +1100 Subject: [PATCH] typings(Collection): add missing thisArg to partition (#3167) --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index e1a6bac84..f77ab51ee 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -289,7 +289,7 @@ declare module 'discord.js' { public lastKey(): K | undefined; public lastKey(count: number): K[]; public map(fn: (value: V, key: K, collection: Collection) => T, thisArg?: any): T[]; - public partition(fn: (value: V, key: K, collection: Collection) => boolean): [Collection, Collection]; + public partition(fn: (value: V, key: K, collection: Collection) => boolean, thisArg?: any): [Collection, Collection]; public random(): V | undefined; public random(count: number): V[]; public randomKey(): K | undefined;