Closed nemo-market-dev closed 2 years ago
Are you using React 18? Explicit children
prop shouldn't be required pre-18
@dziraf Thanks for reply!~
I tried with "@types/react": "~17.0.39" but not working yet.
"resolutions": { "@types/react": "~17.0.39" },
react's version: "16.14.0"
You should be able to build the app if you add:
"skipLibCheck": true
to your tsconfig until it gets investigated
Of course I added! Sorry for not working...
I only noticed it now but you have:
"@types/react": "^18.0.8"
AdminJS uses React v16, so it will throw errors if you use v18 to resolve types. You either need to downgrade the types to v16 or ignore type errors in AdminJS components.
When I do "tsc -p tsconfig.build.json", I got some errors. Almost errors are about properties. Can I ask some help?
package.json
.eslintrc.js