Browse Source

@uppy/tus: Fix onShouldRetry type signature (#5387)

Trent Nadeau 8 months ago
parent
commit
9810cc86b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/@uppy/tus/src/index.ts

+ 1 - 1
packages/@uppy/tus/src/index.ts

@@ -53,7 +53,7 @@ export interface TusOpts<M extends Meta, B extends Body>
     err: tus.DetailedError,
     retryAttempt: number,
     options: TusOpts<M, B>,
-    next: (e: tus.DetailedError) => void,
+    next: (e: tus.DetailedError) => boolean,
   ) => boolean
   retryDelays?: number[]
   withCredentials?: boolean