Skip to content

Commit fbeb95b

Browse files
committed
style(modeling): removed default exports from TS definitions
1 parent e00b916 commit fbeb95b

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
import type { Vec2 } from '../../maths/vec2/type.d.ts'
22

3-
export declare interface Poly2 {
4-
points: Array<Vec2>
5-
}
6-
7-
export default Poly2
3+
export declare interface Poly2 { points: Array<Vec2> }

packages/modeling/src/operations/booleans/trees/splitPolygonByPlane.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,4 @@ interface SplitRes
2828
// In case the polygon is spanning, returns:
2929
// .front: a Polygon3 of the front part
3030
// .back: a Polygon3 of the back part
31-
declare function splitPolygonByPlane(plane: Plane, polygon: Poly3): SplitRes;
32-
33-
export default splitPolygonByPlane;
31+
export declare function splitPolygonByPlane(plane: Plane, polygon: Poly3): SplitRes;

0 commit comments

Comments
 (0)