FeatureCollection Type
pdfabbro opened this issue · comments
Where can I import the FeatureCollection type from turf? After the update to 7.0
import { FeatureCollection } from "@turf/turf";
does not work. Similar with GeometryCollection
See the CHANGELOG for breaking changes, you need to import these types from the @types/geojson
package
You'll find it at the top-level of the repo, it could be made more visible. I'll reopen this as a documentation task.
@twelch It worked, thanks! I was looking for the change log here https://github.com/Turfjs/turf/releases/tag/v7.0.0 and then here https://github.com/Turfjs/turf/releases. Being a dev, I probably shoulda found it at the root of the code though lol... my bad
Thanks, the release message is automated, maybe an automatic reference to the changelog can get added