From 58a78d449648fd4a11c92ee2d1dce48d8619ed5e Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 21 Feb 2022 14:34:40 +0100 Subject: [PATCH] fixed type --- frontend/src/scripts/popups/quote-report-popup.ts | 2 +- frontend/src/scripts/types/types.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/scripts/popups/quote-report-popup.ts b/frontend/src/scripts/popups/quote-report-popup.ts index 333140a61..b2b49c5fd 100644 --- a/frontend/src/scripts/popups/quote-report-popup.ts +++ b/frontend/src/scripts/popups/quote-report-popup.ts @@ -158,7 +158,7 @@ $("#quoteReportPopup .submit").on("click", async () => { $(".pageTest #reportQuoteButton").click(async () => { show({ - quoteId: parseInt(TestWords.randomQuote?.id as string), + quoteId: TestWords.randomQuote?.id, noAnim: false, }); }); diff --git a/frontend/src/scripts/types/types.d.ts b/frontend/src/scripts/types/types.d.ts index 69a600b51..20a2fcb20 100644 --- a/frontend/src/scripts/types/types.d.ts +++ b/frontend/src/scripts/types/types.d.ts @@ -526,7 +526,7 @@ declare namespace MonkeyTypes { text: string; source: string; length: number; - id: number | string; + id: number; group?: number; language: string; }