diff --git a/packages/turf-nearest-point-on-line/index.ts b/packages/turf-nearest-point-on-line/index.ts index 16f7db570..9d900fb3e 100644 --- a/packages/turf-nearest-point-on-line/index.ts +++ b/packages/turf-nearest-point-on-line/index.ts @@ -64,7 +64,7 @@ function nearestPointOnLine( let length = 0.0; flattenEach( lines, - function (line: any, featureIndex: number, multiFeatureIndex: number) { + function (line: any, _featureIndex: number, multiFeatureIndex: number) { const coords: any = getCoords(line); for (let i = 0; i < coords.length - 1; i++) {