### Versions - @prismicio/react: 2.5.0 - react: 17.0.2 - node: v16.17.0 ### Reproduction 1. Create a slice with Rich Text field 2. Generate types using `prismic-ts-codegen` 3. Use `<PrismicRichText>` component and provide that field to it 4. Observe the error: <img width="1408" alt="image" src="https://user-images.githubusercontent.com/24775098/207590531-13cfd19a-6560-4aa3-a6d5-3cf2df68ecae.png"> <details open> Dependencies related to the issue: ``` "@prismicio/client": "^6.7.1", "@prismicio/helpers": "^2.3.6", "@prismicio/next": "^1.0.2", "@prismicio/react": "^2.5.0", "@prismicio/types": "^0.2.4", "slice-machine-ui": "^0.5.2", "typescript": "4.3.5", "prismic-ts-codegen": "^0.1.5", ``` </details> ### What is expected? Types should just work fine :) ### What is actually happening? Error appears