jedmund-svelte/src
Justin Edmund 4782584a47 fix: replace any types in admin and utility files (11 errors)
Phase 1 Batch 8: Admin & Misc type safety improvements - PHASE 1 COMPLETE

Fixed 11 any-type errors across 7 files:

1. src/lib/admin/autoSave.svelte.ts (1 error)
   - Fixed catch block: e: unknown (line 98)

2. src/lib/admin/autoSave.ts (1 error)
   - Fixed catch block: e: unknown (line 85)

3. src/lib/admin/autoSaveLifecycle.ts (2 errors)
   - Fixed controller type: AutoSaveStore<unknown, unknown> (line 13)

4. src/lib/admin/api.ts (1 error)
   - Fixed body cast: body as FormData (line 61)

5. src/lib/server/api-utils.ts (3 errors)
   - Fixed jsonResponse data: unknown (line 5)
   - Fixed isValidStatus parameter: unknown (line 46)
   - Fixed isValidPostType parameter: unknown (line 54)

6. src/lib/stores/project-form.svelte.ts (1 error)
   - Fixed setField value: unknown (line 57)

7. src/lib/stores/toast.ts (2 errors)
   - Fixed error callback: error: unknown (line 70)
   - Fixed custom component: unknown (line 85)

Progress: 0 any-type errors remaining!
PHASE 1 TYPE SAFETY: COMPLETE (103 errors fixed)
2025-11-24 02:43:52 -08:00
..
assets feat(admin): complete Task 7 Phase 1 - styling & theming foundation 2025-10-08 21:28:28 -07:00
lib fix: replace any types in admin and utility files (11 errors) 2025-11-24 02:43:52 -08:00
routes fix: replace any types in route pages (10 errors) 2025-11-24 02:01:47 -08:00
stories lint: remove unused imports in api routes and stories (9 fixes) 2025-11-24 05:28:11 +00:00
app.css Linter 2025-06-13 21:22:49 -04:00
app.d.ts First commit for universe 2025-05-26 06:44:27 -07:00
app.html Add meta theme color 2025-08-07 03:12:25 -07:00
decs.d.ts Update decs.d.ts for GiantBomb API 2024-08-05 23:38:14 -07:00
global.d.ts fix: replace any types in logger and utilities (14 errors) 2025-11-24 01:55:25 -08:00