Skip to content

Commit a71273b

Browse files
authored
fix(🐛): Fix mixPath signature (#350)
1 parent 2ec4846 commit a71273b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Paths.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ export const interpolatePath = (
203203
return serialize(path);
204204
};
205205

206-
export const mixPath = (value: number, paths: [SVGSegment[], SVGSegment[]]) => {
206+
export const mixPath = (value: number, p1: SVGSegment[], p2: SVGSegment[]) => {
207207
"worklet";
208-
return interpolatePath(value, [0, 1], paths);
208+
return interpolatePath(value, [0, 1], [p1, p2]);
209209
};
210210

211211
export const move = (x: number, y: number) => {

0 commit comments

Comments
 (0)