Closed othke closed 6 years ago
I get the following error when parsing an edigeo sheet.
TypeError: pointToLineDistance is not a function
turf now use exports.default and must be import withconst pointToLineDistance = require('point-to-line-distance').default
exports.default
const pointToLineDistance = require('point-to-line-distance').default
Thx for this issue report and PR!! 🎉
@turf/point-to-line-distance 5.1.6 breaks compatibility with 5.1.5… For consistency I prefer pin 5.1.5
@turf/point-to-line-distance
5.1.6
5.1.5
I get the following error when parsing an edigeo sheet.
turf now use
exports.default
and must be import withconst pointToLineDistance = require('point-to-line-distance').default