Skip to content

Commit

Permalink
fix: tsc error
Browse files Browse the repository at this point in the history
  • Loading branch information
petterav committed Apr 17, 2024
1 parent 75b1b2b commit 331a53b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types/chartDataTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface MeasurementData {
interface TimeUnitData {
singular: string;
plural: string;
divisor?: number;
divisor: number;
}

export interface ChartDataTypes {
Expand Down Expand Up @@ -75,6 +75,7 @@ export const timeUnitData: { [key: string]: TimeUnitData } = {
[TimeUnitCodes.days]: {
singular: i18n.t('day'),
plural: i18n.t('days'),
divisor: 1,
},
};

Expand Down

0 comments on commit 331a53b

Please sign in to comment.