Browse Source

fixup! @uppy/core: use variadic arguments for `uppy.use` (#4888)

Antoine du Hamel 1 year ago
parent
commit
bfd5f5f76c

+ 1 - 0
packages/@uppy/angular/projects/uppy/angular/src/lib/utils/wrapper.ts

@@ -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 };