From 831f988fe2258bbdd5b3459bfbe830e4a5510a6c Mon Sep 17 00:00:00 2001 From: Ryan Munro Date: Mon, 1 Apr 2019 18:35:17 +1100 Subject: [PATCH] typings(Collection): add typings for partition (#3166) --- typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/index.d.ts b/typings/index.d.ts index 8950d3f0e..a44039737 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -344,6 +344,7 @@ declare module 'discord.js' { public lastKey(): K; 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, thisArg?: any): [Collection, Collection]; public random(): V; public random(count: number): V[]; public randomKey(): K;