Fix some type errors

This commit is contained in:
Jon Staab
2025-02-03 15:40:00 -08:00
parent cfbff94b4c
commit 08ee07d157
7 changed files with 65 additions and 71 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ export const emitter = new Emitter()
export const modals = writable<Record<string, Modal>>({})
export const pushModal = (
component: Component,
component: Component<any>,
props: Record<string, any> = {},
options: ModalOptions = {},
) => {
@@ -37,7 +37,7 @@ export const pushModal = (
}
export const pushDrawer = (
component: Component,
component: Component<any>,
props: Record<string, any> = {},
options: ModalOptions = {},
) => pushModal(component, props, {...options, drawer: true})