Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Apr 21, 2023
1 parent 3556f34 commit fdc35be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/agecounters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const PERIOD_UNIT_KEYS = Object.keys(PERIOD_UNITS);
*/

export class AgeCounters {
private counters: Map<string|number, number> = new Map();
private counters: Map<"all"|number, number> = new Map();
private counterPeriods: string[];
/***
* @param {String[]} counterPeriods A set of strings denoting the bucket periods
Expand Down

0 comments on commit fdc35be

Please sign in to comment.