Skip to content

Commit

Permalink
fix: resolve type Geometry from @types/geojson instead of @turf
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Behairi committed Jun 20, 2024
1 parent 3602e12 commit ecd6d89
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions elements/itemfilter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"type": "module",
"devDependencies": {
"@eox/eslint-config": "^1.0.0",
"@types/geojson": "^7946.0.14",
"@types/lodash.debounce": "^4.0.7",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
Expand Down
2 changes: 1 addition & 1 deletion elements/itemfilter/src/filters/spatial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { map } from "lit/directives/map.js";
import { when } from "lit/directives/when.js";
import { booleanIntersects } from "@turf/boolean-intersects";
import { booleanWithin } from "@turf/boolean-within";
import { Geometry } from "@turf/helpers";
import type { Geometry } from "geojson";
import { EOxMap } from "../../../map/main";
import { resetFilter } from "../reset";
import { EoxLayer } from "../../../map/src/generate";
Expand Down
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ecd6d89

Please sign in to comment.