Skip to content

Commit

Permalink
fix: Tighten typings
Browse files Browse the repository at this point in the history
  • Loading branch information
Undistraction committed Sep 19, 2024
1 parent 550f5de commit a27cea1
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,24 @@ export interface Curve {
}

export interface BoundingCurves {
[key: string]: Curve
top: Curve
bottom: Curve
left: Curve
right: Curve
}

export interface BoundaryPoints {
[key: string]: Point
top: Point
bottom: Point
left: Point
right: Point
}

export interface CornerPoints {
[key: string]: Point
topLeft: Point
topRight: Point
bottomLeft: Point
bottomRight: Point
}

// -----------------------------------------------------------------------------
Expand Down

0 comments on commit a27cea1

Please sign in to comment.