TypeScript type definitions not recognized in build process (@contember/react-client) #618
Unanswered
thejakubkriz
asked this question in
Support
Replies: 1 comment 5 replies
-
Hi, thanks for reporting this issue. I will let you know when it is released, so you can test it. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Firstly, I want to express my gratitude for all the hard work you've put into Contember. I'm new to all this, so please bear with me if my assumptions are incorrect, or if the issue turns out to be on my end. I've encountered an issue related to TypeScript type definitions while attempting to build my Next.js project, which I use to render specific data from my Contember project. I use the RichTextRenderer and don't have any custom references or elements implemented. Below are the details of the problem.
The build process throws an error indicating it cannot find the type declarations for the @contember/react-client module:
For now I have bypassed type checking for the @contember/react-client module with
declare module '@contember/react-client';
"typescript": "5.1.6"
"next": "13.4.19" (using the new Next.js app directory)
@contember/react-client": "^1.2.0-rc.18"
Thanks for helping me resolve this issue.
Beta Was this translation helpful? Give feedback.
All reactions