Skip to content

Commit

Permalink
prefix unused variable with _
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewharvey committed Aug 6, 2024
1 parent 1875f39 commit df86ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/turf-nearest-point-on-line/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function nearestPointOnLine<G extends LineString | MultiLineString>(
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++) {
Expand Down

0 comments on commit df86ad3

Please sign in to comment.