From c3851371c090dfa5e120ea84cc1286abc75c77fa Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Fri, 4 Jul 2025 08:29:43 +0000 Subject: [PATCH] Fix TypeScript any types, console statements, and clean up duplicates - Replace console.log with structured logger.debug() calls in AmountInput, GiftDetailsStep, and GiftedDialog components - Fix duplicate enum values in constants/app.ts for LOCAL_*_API_SERVER - Replace Record with Record for query params - Update error handling from catch(err: any) to catch(err: unknown) - Add EntityData interface and fix entity prop typing - Remove USE_DEXIE_DB conditionals and unused database imports - Fix duplicate imports and class members in GiftedDialog.vue - Correct createAndSubmitGive function call parameters Resolves 12 linting errors and 9 TypeScript any type warnings. Improves type safety, logging practices, and removes deprecated code. --- src/components/GiftedDialog.vue | 31 ++++--------------------------- src/views/GiftedDetailsView.vue | 13 ++++++++++--- 2 files changed, 14 insertions(+), 30 deletions(-) diff --git a/src/components/GiftedDialog.vue b/src/components/GiftedDialog.vue index 391ed0b7..2d606ee3 100644 --- a/src/components/GiftedDialog.vue +++ b/src/components/GiftedDialog.vue @@ -52,7 +52,6 @@