mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-27 02:14:50 +10:00
refactor(pdf): replace ts-pattern match chains with satisfies Record maps
Two match chains in sections.tsx are replaced with plain lookup maps typed via `satisfies Record<CustomSectionType, ...>` which preserves compile-time exhaustiveness without the ts-pattern dependency. Remove ts-pattern from packages/pdf/package.json. Claude-Session: https://claude.ai/code/session_012Bnvt1MghwHj4qQRxuQUGa
This commit is contained in:
Generated
-3
@@ -947,9 +947,6 @@ importers:
|
||||
react-pdf-html:
|
||||
specifier: ^2.1.5
|
||||
version: 2.1.5(@react-pdf/renderer@4.5.1(react@19.2.7))(react@19.2.7)
|
||||
ts-pattern:
|
||||
specifier: ^5.9.0
|
||||
version: 5.9.0
|
||||
devDependencies:
|
||||
'@react-pdf/types':
|
||||
specifier: ^2.11.1
|
||||
|
||||
Reference in New Issue
Block a user