diff --git a/packages/@uppy/core/types/index.d.ts b/packages/@uppy/core/types/index.d.ts index afee94f1b9..df99a3fac2 100644 --- a/packages/@uppy/core/types/index.d.ts +++ b/packages/@uppy/core/types/index.d.ts @@ -360,8 +360,8 @@ export class Uppy { getID(): string - use( - pluginClass: new (uppy: this, opts: TOptions) => TInstance, + use>( + pluginClass: new (uppy: this, opts?: TOptions) => TInstance, opts?: TOptions ): this