Skip to content

Commit

Permalink
fix(modeling): create scission.d.ts and update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zzh97 authored Apr 30, 2024
1 parent f6d5286 commit 7f02f7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/modeling/src/operations/booleans/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export { default as intersect } from './intersect'
export { default as subtract } from './subtract'
export { default as union } from './union'
export { default as scission } from './scission'

export as namespace booleans
7 changes: 7 additions & 0 deletions packages/modeling/src/operations/booleans/scission.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Geom2, Geom3 } from '../../geometries/types'
import RecursiveArray from '../../utils/recursiveArray'

export default scission

declare function scission(...geometries: RecursiveArray<Geom2>): Geom2
declare function scission(...geometries: RecursiveArray<Geom3>): Geom3

0 comments on commit 7f02f7d

Please sign in to comment.