fix collection return type

This commit is contained in:
Skillz
2020-09-26 11:24:00 -04:00
parent fcb5ddda11
commit 8689524aac
+1 -1
View File
@@ -16,7 +16,7 @@ export class Collection<K, V> extends Map<K, V> {
return [...this.values()];
}
first() {
first(): V {
return this.values().next().value;
}