diff --git a/examples/mapbox/clusters/tsconfig.json b/examples/mapbox/clusters/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/clusters/tsconfig.json +++ b/examples/mapbox/clusters/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/controls/tsconfig.json b/examples/mapbox/controls/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/controls/tsconfig.json +++ b/examples/mapbox/controls/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/custom-cursor/tsconfig.json b/examples/mapbox/custom-cursor/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/custom-cursor/tsconfig.json +++ b/examples/mapbox/custom-cursor/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/custom-overlay/tsconfig.json b/examples/mapbox/custom-overlay/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/custom-overlay/tsconfig.json +++ b/examples/mapbox/custom-overlay/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/deckgl-overlay/tsconfig.json b/examples/mapbox/deckgl-overlay/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/deckgl-overlay/tsconfig.json +++ b/examples/mapbox/deckgl-overlay/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/draggable-markers/tsconfig.json b/examples/mapbox/draggable-markers/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/draggable-markers/tsconfig.json +++ b/examples/mapbox/draggable-markers/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/draw-polygon/tsconfig.json b/examples/mapbox/draw-polygon/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/draw-polygon/tsconfig.json +++ b/examples/mapbox/draw-polygon/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/filter/tsconfig.json b/examples/mapbox/filter/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/filter/tsconfig.json +++ b/examples/mapbox/filter/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/geocoder/tsconfig.json b/examples/mapbox/geocoder/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/geocoder/tsconfig.json +++ b/examples/mapbox/geocoder/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/geojson-animation/tsconfig.json b/examples/mapbox/geojson-animation/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/geojson-animation/tsconfig.json +++ b/examples/mapbox/geojson-animation/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/geojson/tsconfig.json b/examples/mapbox/geojson/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/geojson/tsconfig.json +++ b/examples/mapbox/geojson/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/heatmap/tsconfig.json b/examples/mapbox/heatmap/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/heatmap/tsconfig.json +++ b/examples/mapbox/heatmap/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/interaction/tsconfig.json b/examples/mapbox/interaction/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/interaction/tsconfig.json +++ b/examples/mapbox/interaction/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/layers/tsconfig.json b/examples/mapbox/layers/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/layers/tsconfig.json +++ b/examples/mapbox/layers/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/side-by-side/tsconfig.json b/examples/mapbox/side-by-side/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/side-by-side/tsconfig.json +++ b/examples/mapbox/side-by-side/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/terrain/tsconfig.json b/examples/mapbox/terrain/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/terrain/tsconfig.json +++ b/examples/mapbox/terrain/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/viewport-animation/tsconfig.json b/examples/mapbox/viewport-animation/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/viewport-animation/tsconfig.json +++ b/examples/mapbox/viewport-animation/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/mapbox/zoom-to-bounds/tsconfig.json b/examples/mapbox/zoom-to-bounds/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/mapbox/zoom-to-bounds/tsconfig.json +++ b/examples/mapbox/zoom-to-bounds/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/clusters/src/app.tsx b/examples/maplibre/clusters/src/app.tsx index af3e2f9ab..090268b6b 100644 --- a/examples/maplibre/clusters/src/app.tsx +++ b/examples/maplibre/clusters/src/app.tsx @@ -40,6 +40,7 @@ export default function App() { }} mapStyle="https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json" interactiveLayerIds={[clusterLayer.id]} + // eslint-disable-next-line @typescript-eslint/no-misused-promises onClick={onClick} ref={mapRef} > diff --git a/examples/maplibre/clusters/tsconfig.json b/examples/maplibre/clusters/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/clusters/tsconfig.json +++ b/examples/maplibre/clusters/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/controls/tsconfig.json b/examples/maplibre/controls/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/controls/tsconfig.json +++ b/examples/maplibre/controls/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/custom-cursor/tsconfig.json b/examples/maplibre/custom-cursor/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/custom-cursor/tsconfig.json +++ b/examples/maplibre/custom-cursor/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/custom-overlay/tsconfig.json b/examples/maplibre/custom-overlay/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/custom-overlay/tsconfig.json +++ b/examples/maplibre/custom-overlay/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/deckgl-overlay/tsconfig.json b/examples/maplibre/deckgl-overlay/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/deckgl-overlay/tsconfig.json +++ b/examples/maplibre/deckgl-overlay/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/draggable-markers/tsconfig.json b/examples/maplibre/draggable-markers/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/draggable-markers/tsconfig.json +++ b/examples/maplibre/draggable-markers/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/draw-polygon/tsconfig.json b/examples/maplibre/draw-polygon/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/draw-polygon/tsconfig.json +++ b/examples/maplibre/draw-polygon/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/filter/tsconfig.json b/examples/maplibre/filter/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/filter/tsconfig.json +++ b/examples/maplibre/filter/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/geocoder/tsconfig.json b/examples/maplibre/geocoder/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/geocoder/tsconfig.json +++ b/examples/maplibre/geocoder/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/geojson-animation/tsconfig.json b/examples/maplibre/geojson-animation/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/geojson-animation/tsconfig.json +++ b/examples/maplibre/geojson-animation/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/geojson/tsconfig.json b/examples/maplibre/geojson/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/geojson/tsconfig.json +++ b/examples/maplibre/geojson/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/globe/tsconfig.json b/examples/maplibre/globe/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/globe/tsconfig.json +++ b/examples/maplibre/globe/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/heatmap/tsconfig.json b/examples/maplibre/heatmap/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/heatmap/tsconfig.json +++ b/examples/maplibre/heatmap/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/interaction/tsconfig.json b/examples/maplibre/interaction/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/interaction/tsconfig.json +++ b/examples/maplibre/interaction/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/layers/tsconfig.json b/examples/maplibre/layers/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/layers/tsconfig.json +++ b/examples/maplibre/layers/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/side-by-side/tsconfig.json b/examples/maplibre/side-by-side/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/side-by-side/tsconfig.json +++ b/examples/maplibre/side-by-side/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/terrain/tsconfig.json b/examples/maplibre/terrain/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/terrain/tsconfig.json +++ b/examples/maplibre/terrain/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/viewport-animation/tsconfig.json b/examples/maplibre/viewport-animation/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/viewport-animation/tsconfig.json +++ b/examples/maplibre/viewport-animation/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true } diff --git a/examples/maplibre/zoom-to-bounds/tsconfig.json b/examples/maplibre/zoom-to-bounds/tsconfig.json index c137eec48..2b37aa6c2 100644 --- a/examples/maplibre/zoom-to-bounds/tsconfig.json +++ b/examples/maplibre/zoom-to-bounds/tsconfig.json @@ -4,7 +4,7 @@ "jsx": "react", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, - "moduleResolution": "bundler", + "moduleResolution": "node", "module": "ES2020", "sourceMap": true }