diff --git a/libs/redmine-types/index.d.ts b/libs/redmine-types/index.d.ts index d9a761d..589cbe6 100644 --- a/libs/redmine-types/index.d.ts +++ b/libs/redmine-types/index.d.ts @@ -1,7 +1,7 @@ /// +// eslint-disable-next-line @typescript-eslint/prefer-namespace-keyword export module RedmineTypes { - export type IdAndName = { id: number; name: string; @@ -48,14 +48,15 @@ export module RedmineTypes { updated_on?: string; closed_on?: string; relations?: Record[]; - } + }; + // eslint-disable-next-line @typescript-eslint/prefer-namespace-keyword export module Unknown { export const num = -1; export const str = ''; export const idAndName: IdAndName = { id: -1, - name: str + name: str, }; export const unknownName = 'Unknown'; export const subject = 'Unknown'; @@ -76,14 +77,14 @@ export module RedmineTypes { spent_hours: num, total_spent_hours: num, custom_fields: [], - created_on: date + created_on: date, }; export const user: User = { id: num, firstname: unknownName, lastname: unknownName, - mail: str + mail: str, }; } @@ -92,6 +93,5 @@ export module RedmineTypes { firstname: string; lastname: string; mail: string; - } - -} \ No newline at end of file + }; +}