Skip to content

Commit

Permalink
@uppy/transloadit: do not mark opts as mandatory (#5375)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Jul 29, 2024
1 parent 72e84a8 commit 0fd8065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/transloadit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export default class Transloadit<

restored: Promise<void> | null = null

constructor(uppy: Uppy<M, B>, opts: TransloaditOptions<M, B>) {
constructor(uppy: Uppy<M, B>, opts?: TransloaditOptions<M, B>) {
super(uppy, { ...defaultOptions, ...opts })
this.type = 'uploader'
this.id = this.opts.id || 'Transloadit'
Expand Down

0 comments on commit 0fd8065

Please sign in to comment.