diff options
author | Maxime AILLOUD <maxime.ailloud@gmail.com> | 2019-05-24 12:24:48 +0100 |
---|---|---|
committer | Maxime AILLOUD <maxime.ailloud@gmail.com> | 2019-05-24 12:24:48 +0100 |
commit | adc4c5efbe65ff7c7ca72f52c44f0f13ad646d3d (patch) | |
tree | de7feed05a30d1339e12b4825af908459bba5b35 | |
parent | a3fbb02c754c7eb141dac220e05e5bef3e4184de (diff) | |
download | svg.js-adc4c5efbe65ff7c7ca72f52c44f0f13ad646d3d.tar.gz svg.js-adc4c5efbe65ff7c7ca72f52c44f0f13ad646d3d.zip |
PathArray parse method's parameter should be optional to comply with the parent class
-rw-r--r-- | svg.js.d.ts | 2 |
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
}
|