Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix ts

Sara Vieira204520b472a1
diff --git a/apps/designer/app/designer/features/sidebar-left/types.ts b/apps/designer/app/designer/features/sidebar-left/types.ts
index 31e75cb3e1..29fd62a28d 100644
--- a/apps/designer/app/designer/features/sidebar-left/types.ts
+++ b/apps/designer/app/designer/features/sidebar-left/types.ts
@@ -3,10 +3,7 @@ import { panels } from "./panels";
export type TabName = keyof typeof panels | "none";
-export type UploadingAsset = {
- id: Asset["id"];
- status: Asset["status"];
- name: Asset["name"];
- path: Asset["path"];
- alt: Asset["alt"];
-};
+export type UploadingAsset = Pick<
+ Asset,
+ "id" | "status" | "name" | "path" | "alt"
+>;