From 7e8e848eb2d9235ccea2c9c955d84c8bc09e2b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 30 Jun 2026 21:45:56 +0200 Subject: [PATCH] fix(medications): drop the unused DoseUnitKey export The shared dose-unit module exported a DoseUnitKey type alias that nothing consumed, tripping the dead-code gate. Drop it; the const array is the only export the wizard and formatDose need. --- src/lib/medications/dose-units.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/medications/dose-units.ts b/src/lib/medications/dose-units.ts index 00a733524..4ba4748a8 100644 --- a/src/lib/medications/dose-units.ts +++ b/src/lib/medications/dose-units.ts @@ -25,5 +25,3 @@ export const DOSE_UNIT_KEYS = [ "pieces", "other", ] as const; - -export type DoseUnitKey = (typeof DOSE_UNIT_KEYS)[number];