Skip to content

Commit a03100e

Browse files
authored
fix: types declaration file matches implementation (#23)
1 parent 2959c56 commit a03100e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

intersect.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ declare function findPathIntersections(path1: Path, path2: Path, justCount: fals
3434
declare function findPathIntersections(path1: Path, path2: Path): Intersection[];
3535
declare function findPathIntersections(path1: Path, path2: Path, justCount?: boolean): Intersection[] | number;
3636

37-
export = findPathIntersections;
37+
export default findPathIntersections;
3838

3939
/**
4040
* A string in the form of 'M150,150m0,-18a18,18,0,1,1,0,36a18,18,0,1,1,0,-36z'
@@ -91,3 +91,5 @@ declare interface Intersection {
9191
*/
9292
t2: number;
9393
}
94+
95+
export type { Intersection, Path, PathComponent };

0 commit comments

Comments
 (0)