Skip to content

Commit

Permalink
Fix typescript typings
Browse files Browse the repository at this point in the history
  • Loading branch information
mfedderly committed Aug 6, 2024
1 parent b193aa1 commit 4f5d6ba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions types.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { FeatureCollection, Feature, GeometryObject } from "geojson";

export type Intersection = [number, number];

export default function sweeplineIntersections(
export = function sweeplineIntersections(
geojson: FeatureCollection<GeometryObject> | Feature<GeometryObject>,
ignoreSelfIntersections: boolean
): Intersection[];
): [number, number][];

0 comments on commit 4f5d6ba

Please sign in to comment.