summaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorMaxime AILLOUD <maxime.ailloud@gmail.com>2019-05-24 12:24:48 +0100
committerMaxime AILLOUD <maxime.ailloud@gmail.com>2019-05-24 12:24:48 +0100
commitadc4c5efbe65ff7c7ca72f52c44f0f13ad646d3d (patch)
treede7feed05a30d1339e12b4825af908459bba5b35 /svg.js.d.ts
parenta3fbb02c754c7eb141dac220e05e5bef3e4184de (diff)
downloadsvg.js-adc4c5efbe65ff7c7ca72f52c44f0f13ad646d3d.tar.gz
svg.js-adc4c5efbe65ff7c7ca72f52c44f0f13ad646d3d.zip
PathArray parse method's parameter should be optional to comply with the parent class
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index 93e644d..30167e6 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -421,7 +421,7 @@ declare module "@svgdotjs/svg.js" {
equalCommands(other: PathArray): boolean
morph(pa: PathArray): this
at(pos: number): PathArray
- parse(array: ArrayAlias<PathCommand> | PathArrayAlias): PathCommand[];
+ parse(array?: ArrayAlias<PathCommand> | PathArrayAlias): PathCommand[];
bbox(): Box;
to(a: any): Morphable
}