Skip to content

Commit 25a296c

Browse files
committed
Add type definitions for turf
1 parent 1d3dd1e commit 25a296c

File tree

2 files changed

+62
-62
lines changed

2 files changed

+62
-62
lines changed

turf/turf-tests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,11 +441,11 @@ var value = "oak";
441441
var filtered = turf.filter(features, key, value);
442442

443443
// -- Test random --
444-
var points = turf.random('points', 100, {
444+
var randomPoints = turf.random('points', 100, {
445445
bbox: [-70, 40, -60, 60]
446446
});
447447

448-
var points = turf.random('points', 100, {
448+
var randomPoints = turf.random('points', 100, {
449449
bbox: [-70, 40, -60, 60],
450450
num_vertices: 2,
451451
max_radial_length: 10
@@ -455,7 +455,7 @@ var points = turf.random('points', 100, {
455455
var filtered = turf.remove(points, 'marker-color', '#00f');
456456

457457
// -- Test sample --
458-
var points = turf.random('points', 1000);
458+
var randomPoints = turf.random('points', 1000);
459459
var sample = turf.sample(points, 10);
460460

461461
///////////////////////////////////////////

0 commit comments

Comments
 (0)