Skip to content

Commit

Permalink
resovle ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
leij1ang committed Dec 29, 2021
1 parent 8dca1cf commit f65003c
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 @@ -40,7 +40,7 @@ declare module "svgpath" {
unarc(): SvgPath;
toString(): string;
round(precision: number): SvgPath;
iterate(iterator: (segment: Segment[], index: number, x: number, y: number) => void, keepLazyStack?: boolean): SvgPath;
iterate(iterator: (segment: Segment, index: number, x: number, y: number) => void, keepLazyStack?: boolean): SvgPath;
}

const svgPath: SvgPath;
Expand Down

0 comments on commit f65003c

Please sign in to comment.