Skip to content

Commit

Permalink
Merge pull request #16 from georeith/fix-esm
Browse files Browse the repository at this point in the history
Fix ESM
  • Loading branch information
anvaka authored Nov 14, 2023
2 parents 37a6969 + ec6a83a commit f89aac8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ export type ISectResults = {
export type ISectOptions = {
}

export default function isect(segments: Array<Segment>, options: ISectOptions) : ISectResults;
export function bush(segments: Array<Segment>, options: ISectOptions) : ISectResults;
export function sweep(segments: Array<Segment>, options: ISectOptions) : ISectResults;
export function brute(segments: Array<Segment>, options: ISectOptions) : ISectResults;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "isect",
"version": "3.0.1",
"main": "build/isect.js",
"module": "./index.js",
"module": "build/isect.module.js",
"types": "./index.d.ts",
"scripts": {
"pretest": "rollup -c",
Expand Down

0 comments on commit f89aac8

Please sign in to comment.