Commit graph

2 commits

Author SHA1 Message Date
9da0232d45 fix: replace any types in logger and utilities (14 errors)
Phase 1 Batch 2: Logger & Simple Utilities

Replaced any types with proper TypeScript types across 3 files:

- logger.ts: Created LogContext type, added RequestEvent import from SvelteKit
  - Defined LogContext = Record<string, string | number | boolean | null | undefined>
  - Changed all context parameters from Record<string, any> to LogContext
  - Changed event parameter in createRequestLogger from any to RequestEvent

- extractEmbeds.ts: Used TiptapNode type from editor.ts
  - Changed content and node parameters from any to TiptapNode

- global.d.ts: Improved SVG module declarations
  - Changed *.svg from any to string (raw SVG content)
  - Changed *.svg?component from any to Component<any> (Svelte component)

Progress: 199 → 185 errors (91 → 77 any-type errors)
2025-11-24 01:55:25 -08:00
Justin Edmund
a6780aa859 Update config
* Add autoprefexer
* Properly set up SVG components
* Properly set up SCSS preprocessing
2024-07-12 08:42:45 -04:00