From adc4c5efbe65ff7c7ca72f52c44f0f13ad646d3d Mon Sep 17 00:00:00 2001 From: Maxime AILLOUD Date: Fri, 24 May 2019 12:24:48 +0100 Subject: PathArray parse method's parameter should be optional to comply with the parent class --- svg.js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svg.js.d.ts') 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 | PathArrayAlias): PathCommand[]; + parse(array?: ArrayAlias | PathArrayAlias): PathCommand[]; bbox(): Box; to(a: any): Morphable } -- cgit v1.2.3