mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
typings(Collection): each return Collection<K, V>, not void
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -279,7 +279,7 @@ declare module 'discord.js' {
|
||||
public array(): V[];
|
||||
public clone(): Collection<K, V>;
|
||||
public concat(...collections: Collection<K, V>[]): Collection<K, V>;
|
||||
public each(fn: (value: V, key: K, collection: Collection<K, V>) => void, thisArg?: any): void;
|
||||
public each(fn: (value: V, key: K, collection: Collection<K, V>) => void, thisArg?: any): Collection<K, V>;
|
||||
public equals(collection: Collection<any, any>): boolean;
|
||||
public every(fn: (value: V, key: K, collection: Collection<K, V>) => boolean, thisArg?: any): boolean;
|
||||
public filter(fn: (value: V, key: K, collection: Collection<K, V>) => boolean, thisArg?: any): Collection<K, V>;
|
||||
|
||||
Reference in New Issue
Block a user