mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
typings(Collection): each return Collection<K, V>, not void
This commit is contained in:
parent
00a62a93e4
commit
27d2ce7baf
1 changed files with 1 additions and 1 deletions
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>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue