fix: export Incident types, replace any casts with typed unknown casts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AWxyMibCuGGtSQSqfajDQ7
This commit is contained in:
2026-07-11 07:55:26 +08:00
co-authored by Claude Sonnet 4.6
parent ed14885253
commit 7d3f8ec757
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ const MEDICAL_LABELS: Record<string, string> = {
lti: 'Lost Time Injury (LTI)',
}
type Incident = {
export type Incident = {
id: string
reference_no: string | null
incident_type: string
+1 -1
View File
@@ -22,7 +22,7 @@ const STATUS_COLORS: Record<string, string> = {
closed: 'bg-green-100 text-green-800',
}
type Incident = {
export type Incident = {
id: string
reference_no: string | null
incident_type: string