mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
refactor(collection): remove default property (#8055)
This commit is contained in:
@@ -29,8 +29,6 @@ export interface Collection<K, V> extends Map<K, V> {
|
|||||||
* an ID, for significantly improved performance and ease-of-use.
|
* an ID, for significantly improved performance and ease-of-use.
|
||||||
*/
|
*/
|
||||||
export class Collection<K, V> extends Map<K, V> {
|
export class Collection<K, V> extends Map<K, V> {
|
||||||
public static readonly default: typeof Collection = Collection;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtains the value of the given key if it exists, otherwise sets and returns the value provided by the default value generator.
|
* Obtains the value of the given key if it exists, otherwise sets and returns the value provided by the default value generator.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user