Skip to content

Commit a1bb56b

Browse files
committed
fix: pathValue contructor type
1 parent d897d3e commit a1bb56b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ export class PathProperty extends Property<PathValue> {
469469
normalOnPath(percentage?: number, time?: number): Vector2D {
470470
return [0, 0];
471471
}
472-
constructor(value: T) {
472+
constructor(value: PathValue = {}) {
473473
super(value);
474474
}
475475
}

0 commit comments

Comments
 (0)