Skip to content

Commit

Permalink
fixup! @uppy/core: use variadic arguments for uppy.use (#4888)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Apr 11, 2024
1 parent 09e6a0f commit bfd5f5f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export abstract class UppyAngularWrapper<
changes['uppy'].previousValue !== undefined
) {
this.uninstall(changes['uppy'].previousValue);
// @ts-expect-error The options correspond to the plugin, I swear
this.uppy.use(plugin, this.options);
}
this.options = { ...this.options, ...this.props };
Expand Down

0 comments on commit bfd5f5f

Please sign in to comment.