mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 08:13:12 +09:00
Add default mod packs (#735)
This commit is contained in:
1 parent
7b8945ff15
commit
8996671bea
6 files changed
+72
-1
No files matched your search
@@ -189,6 +189,11 @@ export abstract class Datastore<
|
||||
return this.data.get(key);
|
||||
}
|
||||
|
||||
// Allow getting the size of the datastore
|
||||
get size() {
|
||||
return this.data.size;
|
||||
}
|
||||
|
||||
// Allow iterating through the datastore like a Map.
|
||||
[Symbol.iterator](): IterableIterator<[K, Readonly<V>]> {
|
||||
return this.data.entries();
|
||||
|
||||
Reference in new issue
Block a user