From a3f913d73677e2d774d78ff53bff31980cc6ca18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Renstr=C3=B6m?= <82511587+Spoiple@users.noreply.github.com> Date: Tue, 3 Oct 2023 19:53:03 +0200 Subject: [PATCH] TypeScript: corrected Segment.sortPoints method name sortPoint -> sortPoints --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 5f33a54f..2a97a4e7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -350,7 +350,7 @@ declare namespace Flatten { scale(scaleX: number, scaleY: number) : Segment; transform(matrix: Matrix): Segment; isZeroLength(): boolean; - sortPoint(points: Array) : Array; + sortPoints(points: Array) : Array; toJSON() : Object; svg(attrs?: SVGAttributes): string; }