Skip to content

Commit

Permalink
Cleaner way of fixing attw
Browse files Browse the repository at this point in the history
  • Loading branch information
mfedderly committed Aug 8, 2024
1 parent 4f5d6ba commit 364fc17
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { FeatureCollection, Feature, GeometryObject } from "geojson";

export = function sweeplineIntersections(
declare namespace sweeplineIntersections {
export type Intersection = [number, number];
}

declare function sweeplineIntersections(
geojson: FeatureCollection<GeometryObject> | Feature<GeometryObject>,
ignoreSelfIntersections: boolean
): [number, number][];

export = sweeplineIntersections;

0 comments on commit 364fc17

Please sign in to comment.