Skip to content

Commit

Permalink
Make options optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Joep van der Heijden committed Jan 6, 2022
1 parent e82de3b commit a40df72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ declare module "svgpath" {
transform(str: string): SvgPath;
unshort(): SvgPath;
unarc(): SvgPath;
toString(options: { skipStringOptimizations: boolean }): string;
toString(options?: { skipStringOptimizations: boolean }): string;
round(precision: number): SvgPath;
iterate(iterator: (segment: any[], index: number, x: number, y: number) => void, keepLazyStack?: boolean): SvgPath;
}
Expand Down

0 comments on commit a40df72

Please sign in to comment.