From 956f3d201b5715650bc967719cb15b7821787e25 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Fri, 27 Feb 2026 18:15:36 +0100 Subject: [PATCH] fix type error --- apps/web/src/lib/commands/timeline/element/update-element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/lib/commands/timeline/element/update-element.ts b/apps/web/src/lib/commands/timeline/element/update-element.ts index e6b0706f..643f8e4b 100644 --- a/apps/web/src/lib/commands/timeline/element/update-element.ts +++ b/apps/web/src/lib/commands/timeline/element/update-element.ts @@ -32,7 +32,7 @@ export class UpdateElementCommand extends Command { tracks: this.savedState, trackId: this.trackId, elementId: this.elementId, - update: (element) => ({ ...element, ...this.updates }), + update: (element) => ({ ...element, ...this.updates }) as TimelineElement, }); editor.timeline.updateTracks(updatedTracks);