Skip to content

Commit

Permalink
βœοΈπŸ› the monorepo TS configuration prevents us from using iterators
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer committed Sep 8, 2023
1 parent 8e4fb67 commit e65480e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export class FacetRegistry {
this.eventFieldsCache.set(event, fields)

incrementFacetValueCounts(fields, this.facetValueCounts)
for (const fieldPath of fields.keys()) {
fields.forEach((_value, fieldPath) => {
this.allEventFieldPaths.add(fieldPath)
}
})
}

getFieldValueForEvent(event: SdkEvent, fieldPath: FieldPath): FieldMultiValue | undefined {
Expand Down

0 comments on commit e65480e

Please sign in to comment.