소스 검색

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

Antoine du Hamel 1 년 전
부모
커밋
bfd5f5f76c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/@uppy/angular/projects/uppy/angular/src/lib/utils/wrapper.ts

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