Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-brandao committed Oct 19, 2024
1 parent 6ca05c8 commit 03114f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/client/components/modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export interface BaseModalProps {

function createModal() {
const { subscribe, set } = writable<{
component: null | Component<never>
// eslint-disable-next-line @typescript-eslint/no-explicit-any
component: null | Component<any, any, any>
props: null | ComponentProps<Component>
}>({ component: null, props: null })

Expand Down

0 comments on commit 03114f1

Please sign in to comment.