Skip to content

Commit

Permalink
typings(Collection): add typings for partition (#3166)
Browse files Browse the repository at this point in the history
  • Loading branch information
monbrey authored and SpaceEEC committed Apr 1, 2019
1 parent 5cd6d8d commit 831f988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ declare module 'discord.js' {
public lastKey(): K;
public lastKey(count: number): K[];
public map<T>(fn: (value: V, key: K, collection: Collection<K, V>) => T, thisArg?: any): T[];
public partition(fn: (value: V, key: K, collection: Collection<K, V>) => boolean, thisArg?: any): [Collection<K, V>, Collection<K, V>];
public random(): V;
public random(count: number): V[];
public randomKey(): K;
Expand Down

0 comments on commit 831f988

Please sign in to comment.