Skip to content

Commit

Permalink
Merge pull request #155 from Spoiple/ts-fix
Browse files Browse the repository at this point in the history
TypeScript: corrected Segment.sortPoints method name
  • Loading branch information
alexbol99 authored Oct 5, 2023
2 parents 8ad1e17 + a3f913d commit 12ffbdc
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 12ffbdc

Please sign in to comment.