From 777b0f700067d7ffde37fbe14ed320f2ef630330 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 25 Jun 2025 21:40:54 +0200 Subject: refactor: improved type-safety, removal of any from all instances --- apps/web/src/components/ui/image-timeline-treatment.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/web/src/components/ui') diff --git a/apps/web/src/components/ui/image-timeline-treatment.tsx b/apps/web/src/components/ui/image-timeline-treatment.tsx index 600dd243..31847df5 100644 --- a/apps/web/src/components/ui/image-timeline-treatment.tsx +++ b/apps/web/src/components/ui/image-timeline-treatment.tsx @@ -2,13 +2,14 @@ import { useState } from "react"; import { cn } from "@/lib/utils"; +import type { BackgroundType } from "@/types/editor"; interface ImageTimelineTreatmentProps { src: string; alt: string; targetAspectRatio?: number; // Default to 16:9 for video className?: string; - backgroundType?: "blur" | "mirror" | "color"; + backgroundType?: BackgroundType; backgroundColor?: string; } -- cgit v1.3.1