Type ‘{ data: ReportType[]; meta: MetaDataType; }’ is not assignable to type ‘never’
I have a problem in typescript declaration in next js . When I ran project , its working well . But when i run build , its showing follwoing error .
How can I make my Checkbox check it’s field when fetching from database dynamically?
I have here an edit page wherein it will fetch data from database, and check the meeting_type_option
to render specific field. Now what happen is when I fetch the data at first, it fills the checkbox