Property 'number' does not exist on type 'Record<"id", string>' in react js
i am using react hook form to build demo application.I am using usefieldarray to append rows. https://react-hook-form.com/api/usefieldarray/ but i am getting typescript error I already defined interface export interface InitiateHoldModel { checked: boolean | null; containers: Array<ContainerOnHold> | null; } export interface ContainerOnHold { checked: boolean; number: string; size: string; } Here is my code… Read More Property 'number' does not exist on type 'Record<"id", string>' in react js