diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-03-26 13:52:30 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-03-29 15:49:30 +0200 |
| commit | 722dcdd88face3724c77d23bc36a00524e552551 (patch) | |
| tree | 9dbf561de29592d5a346b8c7bfd27b5d31345bc8 /apps/web/src/lib/animation/keyframes.ts | |
| parent | 8db3bead13441a5882d8689dfc6a9f09c82375d9 (diff) | |
| download | opencut-722dcdd88face3724c77d23bc36a00524e552551.tar.gz | |
fix: resolve typescript/lint errors
Diffstat (limited to 'apps/web/src/lib/animation/keyframes.ts')
| -rw-r--r-- | apps/web/src/lib/animation/keyframes.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/lib/animation/keyframes.ts b/apps/web/src/lib/animation/keyframes.ts index 5fa99fb8..13cdf238 100644 --- a/apps/web/src/lib/animation/keyframes.ts +++ b/apps/web/src/lib/animation/keyframes.ts @@ -616,8 +616,8 @@ export function splitAnimationsAtTime({ time: splitTime, fallbackValue: normalizedChannel.keyframes[0].value, }); - const knownPropertyPath = isAnimationPropertyPath({ propertyPath }) - ? (propertyPath as AnimationPropertyPath) + const knownPropertyPath = isAnimationPropertyPath(propertyPath) + ? propertyPath : null; const boundaryInterpolation = knownPropertyPath ? getDefaultInterpolationForProperty({ |
