Adam Shaw 7 lat temu
rodzic
commit
74bddd56d8
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/structs/event-store.ts

+ 1 - 0
src/structs/event-store.ts

@@ -173,6 +173,7 @@ export function filterEventStoreDefs(eventStore: EventStore, filterFunc: (eventD
   return { defs, instances }
 }
 
+// bad name. called "map" and returns an array
 export function mapEventInstances(
   eventStore: EventStore,
   callback: (instance: EventInstance, def: EventDef) => any