diff --git a/src/document/paths.ts b/src/document/paths.ts index 17cf1ba0..6a9ff30a 100644 --- a/src/document/paths.ts +++ b/src/document/paths.ts @@ -163,7 +163,7 @@ function clampProgress(progress: number): number { } function resolvePathSegmentSample( - path: ResolvedScenePath, + path: ResolvedPathLike, progress: number ): { segmentIndex: number | null; distance: number } { if (path.segments.length === 0 || path.totalLength <= 0) {