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/graphic-param-channel.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'apps/web/src/lib/animation/graphic-param-channel.ts') diff --git a/apps/web/src/lib/animation/graphic-param-channel.ts b/apps/web/src/lib/animation/graphic-param-channel.ts index e77e4c73..7db544e3 100644 --- a/apps/web/src/lib/animation/graphic-param-channel.ts +++ b/apps/web/src/lib/animation/graphic-param-channel.ts @@ -20,11 +20,9 @@ export function buildGraphicParamPath({ return `${GRAPHIC_PARAM_PATH_PREFIX}${paramKey}`; } -export function isGraphicParamPath({ - propertyPath, -}: { - propertyPath: string; -}): propertyPath is GraphicParamPath { +export function isGraphicParamPath( + propertyPath: string, +): propertyPath is GraphicParamPath { return propertyPath.startsWith(GRAPHIC_PARAM_PATH_PREFIX); } @@ -33,7 +31,7 @@ export function parseGraphicParamPath({ }: { propertyPath: string; }): { paramKey: string } | null { - if (!isGraphicParamPath({ propertyPath })) { + if (!isGraphicParamPath(propertyPath)) { return null; } -- cgit v1.3.1