Skip to content

Commit

Permalink
fix: Correct type attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
KW-clickbits committed Apr 30, 2021
1 parent 213c84c commit f895fa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/internals/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export type User = {
};

const timeEntryType = 1;
const unitLumpsumEntryType = 2;
const lumpSumEntryType = 3;
const lumpsumEntryType = 2;
const unitLumpsumEntryType = 3;

type BaseEntry = {
id: number;
Expand Down Expand Up @@ -95,7 +95,7 @@ export type TimeEntry = BaseEntry & {
};

export type LumpsumEntry = BaseEntry & {
type: typeof lumpSumEntryType;
type: typeof lumpsumEntryType;
servicesId: number;
servicesName?: string; // deprecated
lumpsum: number;
Expand Down

0 comments on commit f895fa9

Please sign in to comment.