From 722dcdd88face3724c77d23bc36a00524e552551 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Thu, 26 Mar 2026 13:52:30 +0100 Subject: fix: resolve typescript/lint errors --- apps/web/src/lib/animation/effect-param-channel.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'apps/web/src/lib/animation/effect-param-channel.ts') diff --git a/apps/web/src/lib/animation/effect-param-channel.ts b/apps/web/src/lib/animation/effect-param-channel.ts index 323d9f54..a614c14f 100644 --- a/apps/web/src/lib/animation/effect-param-channel.ts +++ b/apps/web/src/lib/animation/effect-param-channel.ts @@ -26,11 +26,9 @@ export function buildEffectParamPath({ return `${EFFECT_PARAM_PATH_PREFIX}${effectId}${EFFECT_PARAM_PATH_SUFFIX}${paramKey}`; } -export function isEffectParamPath({ - propertyPath, -}: { - propertyPath: string; -}): propertyPath is EffectParamPath { +export function isEffectParamPath( + propertyPath: string, +): propertyPath is EffectParamPath { return ( propertyPath.startsWith(EFFECT_PARAM_PATH_PREFIX) && propertyPath.includes(EFFECT_PARAM_PATH_SUFFIX) @@ -42,7 +40,7 @@ export function parseEffectParamPath({ }: { propertyPath: string; }): { effectId: string; paramKey: string } | null { - if (!isEffectParamPath({ propertyPath })) { + if (!isEffectParamPath(propertyPath)) { return null; } -- cgit v1.3.1