Typescript error on metronic_v8.0.38
Hi guys, so I installed the yarn dependencies and typescript into react/demo1 and then I initiated the react app with yarn start. However I am getting a errors on some prop kind of thing without even having touched the code thus far.
The errror I am getting is:
TypeScript error in /Users/saifrana/Downloads/metronic_v8.0.38/react copy/demo1/src/_metronic/helpers/components/KTCard.tsx(35,5):
Property 'children' does not exist on type 'Props'. TS2339
33 | utilityPY,
34 | utilityPX,
> 35 | children,
36 | } = props
37 | return (
We know about this issue, the fix will be released in v8.039.
For now, follow the instruction in the doc: https://preview.keenthemes.com/metronic8/react/docs/docs/quick-start. I hope it will help you.
So the package.json in that github repo you shared is for the demo3. I was trying to use the demo1. But since you guys have posted new package.json for only demo3 in the repo I assume that the demo1 is not usable at this time?
All demos have the same packages list, which means you can use it for demo1 also.
i got same error after running yarn install and yarn start for our available project, i was working on my other laptop, after i pulled it from the github to work on my new pc. is there any news about this error ? could you let me know if anybody solve how to handle this error ?