feat: Implement strict type enforcement

This commit is contained in:
gpt-engineer-app[bot]
2025-10-16 13:56:32 +00:00
parent 95679c1067
commit 3bcd9e03fa
10 changed files with 379 additions and 80 deletions

View File

@@ -157,7 +157,7 @@ export function OperatorForm({ onSubmit, onCancel, initialData }: OperatorFormPr
<Label>Entity Type *</Label>
<RadioGroup
value={watch('person_type')}
onValueChange={(value) => setValue('person_type', value as any)}
onValueChange={(value) => setValue('person_type', value as 'company' | 'individual' | 'firm' | 'organization')}
className="grid grid-cols-2 md:grid-cols-4 gap-4"
>
<div className="flex items-center space-x-2">