Skip to content

Commit c1f3fa2

Browse files
committed
fix: type change to JSON
1 parent e6b6473 commit c1f3fa2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/GEOComp.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,15 +365,15 @@ const GEOCompWithMethodExpose = withMethodExposing(GEOComp, [
365365
params: [
366366
{
367367
name: "coords",
368-
type: "JSONArray",
368+
type: "JSON",
369369
},
370370
{
371371
name: "duration",
372372
type: "number",
373373
},
374374
{
375375
name: "properties",
376-
type: "JSONValue",
376+
type: "JSON",
377377
},
378378
{
379379
name: "animation",
@@ -418,7 +418,7 @@ const GEOCompWithMethodExpose = withMethodExposing(GEOComp, [
418418
params: [
419419
{
420420
name: "coordinates",
421-
type: "JSONArray", // Assuming [longitude, latitude]
421+
type: "JSON", // Assuming [longitude, latitude]
422422
description: "Coordinates where the popup should appear",
423423
},
424424
{
@@ -440,7 +440,7 @@ const GEOCompWithMethodExpose = withMethodExposing(GEOComp, [
440440
params: [
441441
{
442442
name: "data",
443-
type: "JSONObject",
443+
type: "JSON",
444444
},
445445
{
446446
name: "layer",

0 commit comments

Comments
 (0)