mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
fix eslint
This commit is contained in:
parent
7816b961fc
commit
72c6f0a004
@ -36,8 +36,11 @@ export const transformPath = (path: Path[], deltaX: number, deltaY: number, delt
|
||||
};
|
||||
|
||||
export const reversePath = (path: Path[]): Path[] => {
|
||||
return path.slice(0).reverse().map((point) => {
|
||||
return path
|
||||
.slice(0)
|
||||
.reverse()
|
||||
.map(point => {
|
||||
return point.reverse();
|
||||
});
|
||||
}
|
||||
};
|
||||
export type Path = Vector | BezierCurve;
|
||||
|
Loading…
Reference in New Issue
Block a user