Closed aohayk closed 6 months ago
I have using react 17 and typescript 4.9.4 So when I run npm run prod I have TS1005: ',' expected. error in node_modules` node_modules/react-leaflet/lib/WMSTileLayer.d.ts(3,43)
This issue related import { type... } from '....'
same problem
You have to bump typescript version in your project, at least to 4.5.
I have using react 17 and typescript 4.9.4 So when I run npm run prod I have TS1005: ',' expected. error in node_modules` node_modules/react-leaflet/lib/WMSTileLayer.d.ts(3,43)
This issue related import { type... } from '....'