]> source.dussan.org Git - svg.js.git/commitdiff
Fix typings for array of ArrayPoint like [[0, 0], [325, 235]]. 762/head
authorMakarov Alexandr <next.meaning@gmail.com>
Mon, 20 Nov 2017 08:38:46 +0000 (18:38 +1000)
committerMakarov Alexandr <next.meaning@gmail.com>
Mon, 20 Nov 2017 08:38:46 +0000 (18:38 +1000)
svg.js.d.ts

index 37edad854ed0f3e1535e184d2b6c8eb91112e123..bfa056d9e98218f208f87ea82bee37c4b3cfdee1 100644 (file)
@@ -423,8 +423,7 @@ declare namespace svgjs {
 \r
     // line.js\r
     interface ArrayPoint extends Array<number> { }\r
-    type ArrayAsPoint = [number, number];\r
-    type PointArrayAlias = ArrayPoint | number[] | ArrayAsPoint[] | PointArray | string;\r
+    type PointArrayAlias = ArrayPoint[] | number[] | PointArray | string;\r
     \r
     export interface Line extends Shape {\r
         new (): Line;\r