Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]TypeScript error for Next.js #1839

Closed
dzcpy opened this issue May 25, 2022 · 1 comment
Closed

[BUG]TypeScript error for Next.js #1839

dzcpy opened this issue May 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@dzcpy
Copy link
Contributor

dzcpy commented May 25, 2022

Describe the bug
In _app.tsx there is a TypeScript error:
Property 'children' does not exist on type 'IntrinsicAttributes & RefineProps'

To Reproduce
Steps to reproduce the behavior:

  1. Initialize project with superplate, choose Nest.js and Strapi v4.
  2. Upgrade dependencies

Expected behavior
Should allow children in TypeScript definition.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
  • Used dataProvider Strapi V4

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]
  • Used dataProvider [e.g. custom, Strapi, Airtable]

Additional context
TypeScript 4.7.2
React 18.1.0

@dzcpy dzcpy added the bug Something isn't working label May 25, 2022
@omeraplak
Copy link
Member

Hey @dzcpy ,
Thank you for contacting us! We are working on React@18 support. Actually, we have successfully upgraded all our packages, but the packages we use in many of our examples do not yet support React@18. I guess @18 support of the entire React ecosystem will take some time. Thank you for your understanding and patience

#1725

note: I'm closing this issue, you can follow it in other issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants