From 8e8c9626b36516efdda8c8d98c907a668aa21c77 Mon Sep 17 00:00:00 2001 From: Pavel Gnedov Date: Tue, 17 May 2022 16:30:27 +0700 Subject: [PATCH] Linter errors fixed --- libs/redmine-types/index.d.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 + }; +}