mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
fix collection return type
This commit is contained in:
@@ -16,7 +16,7 @@ export class Collection<K, V> extends Map<K, V> {
|
||||
return [...this.values()];
|
||||
}
|
||||
|
||||
first() {
|
||||
first(): V {
|
||||
return this.values().next().value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user