(I opened an issue on the affected repository react-leaflet#363)
Flow-comments output incorrect code when transforming consecutive flow "statements". As shown in the issue linked above,
import { GeoJSON as LeafletGeoJSON, type LatLng, type Layer } from 'leaflet';
"renders" as
import { GeoJSON as LeafletGeoJSON, /*:: type LatLng*/, /*:: type Layer*/ } from 'leaflet';
You'll notice the 2 hanging commas.
Reproducible on the repository @1.6.2
(I opened an issue on the affected repository react-leaflet#363)
Flow-comments output incorrect code when transforming consecutive flow "statements". As shown in the issue linked above,
"renders" as
You'll notice the 2 hanging commas.
Reproducible on the repository @1.6.2