Skip to content

Commit

Permalink
TypeScript: corrected Segment.sortPoints method name
Browse files Browse the repository at this point in the history
sortPoint -> sortPoints
  • Loading branch information
Spoiple authored Oct 3, 2023
1 parent 8ad1e17 commit a3f913d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ declare namespace Flatten {
scale(scaleX: number, scaleY: number) : Segment;
transform(matrix: Matrix): Segment;
isZeroLength(): boolean;
sortPoint(points: Array<Point>) : Array<Point>;
sortPoints(points: Array<Point>) : Array<Point>;
toJSON() : Object;
svg(attrs?: SVGAttributes): string;
}
Expand Down

0 comments on commit a3f913d

Please sign in to comment.