]> source.dussan.org Git - svg.js.git/commitdiff
PathArray parse method's parameter should be optional to comply with the parent class 1004/head
authorMaxime AILLOUD <maxime.ailloud@gmail.com>
Fri, 24 May 2019 11:24:48 +0000 (12:24 +0100)
committerMaxime AILLOUD <maxime.ailloud@gmail.com>
Fri, 24 May 2019 11:24:48 +0000 (12:24 +0100)
svg.js.d.ts

index 93e644d560839177e309762b4d2e210e7b25cd06..30167e62a1f1268604b9a7969dd520bf2aae6bea 100644 (file)
@@ -421,7 +421,7 @@ declare module "@svgdotjs/svg.js" {
         equalCommands(other: PathArray): boolean\r
         morph(pa: PathArray): this\r
         at(pos: number): PathArray\r
-        parse(array: ArrayAlias<PathCommand> | PathArrayAlias): PathCommand[];\r
+        parse(array?: ArrayAlias<PathCommand> | PathArrayAlias): PathCommand[];\r
         bbox(): Box;\r
         to(a: any): Morphable\r
     }\r