type Committee = Partial< z.infer<typeof committeeSchema>>;// the type become something like followingtype Committee = { id?: string | undefined; safety_health?: string | null | undefined; safety_health_sources?: string | null | undefined; // <--- The problem is here, it should be an Array<string> // other properties}
type Committee = Partial< z.infer<typeof committeeSchema>>;// the type become something like followingtype Committee = { id?: string | undefined; safety_health?: string | null | undefined; safety_health_sources?: string | null | undefined; // <--- The problem is here, it should be an Array<string> // other properties}