fix: sidebar.svelte.ts Component type to accept any props (166 -> 163 errors)

Co-Authored-By: Justin Edmund <justin@jedmund.com>
This commit is contained in:
Devin AI 2025-11-28 21:17:55 +00:00
parent 3b89628e7e
commit 0d3aca286a

View file

@ -7,7 +7,7 @@ interface SidebarState {
open: boolean
title: string | undefined
content: Snippet | undefined
component: Component | undefined
component: Component<any, any, any> | undefined
componentProps: Record<string, any> | undefined
scrollable: boolean
activeItemId: string | undefined
@ -35,7 +35,7 @@ class SidebarStore {
openWithComponent(
title: string,
component: Component,
component: Component<any, any, any>,
props?: Record<string, any>,
scrollable = true
) {