'"preact/compat"' has no exported member named 'ComponentType'. Did you mean 'Component'? file: nodemodules/.pnpm/react-markdown@8.0.7@types+react@18.2.38_react@18.2.0/node_modules/react-markdown/lib/complex-types.ts:1:40
No error in mode development.i am using vite js and show that error when i build command
i changed version @types/react@16 and 17 and not found. No show error in vscode lines. how can i fix that. thanks
'"preact/compat"' has no exported member named 'ComponentType'. Did you mean 'Component'? file: nodemodules/.pnpm/react-markdown@8.0.7@types+react@18.2.38_react@18.2.0/node_modules/react-markdown/lib/complex-types.ts:1:40
Dependencies:
tsconfig to use components react in preact
No error in mode development.i am using vite js and show that error when i build command i changed version @types/react@16 and 17 and not found. No show error in vscode lines. how can i fix that. thanks