O tipo ‘{ data: undefined; }’ não pode ser atribuído ao tipo ‘IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<{ children?: ReactNode; }>’. A propriedade ‘data’ não existe no tipo ‘IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<{ children?: ReactNode; }>’.ts(2322)
Inglês:
Type ‘{ data: undefined; }’ is not assignable to type ‘IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<{ children?: ReactNode; }>’. Property ‘data’ does not exist on type ‘IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<{ children?: ReactNode; }>’. TS2322
![](https://portaleducacao.guarulhos.sp.gov.br/wp_site/wp-content/uploads/2022/12/guarulhos.jpeg)