Skip to content

Commit

Permalink
workaround for type error
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Mar 27, 2024
1 parent 14a9a06 commit 86ccfc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/svelte/src/components/StatusBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
target: container
}
uppy.use(StatusBarPlugin, options);
uppy.use(StatusBarPlugin as new(uppy: any, opts: typeof options) => StatusBarPlugin<M, B>, options);
plugin = uppy.getPlugin(options.id) as StatusBarPlugin<M, B>;
}
const uninstallPlugin = (uppyInstance: Uppy<M, B> = uppy) => {
Expand Down

0 comments on commit 86ccfc1

Please sign in to comment.