Преглед изворни кода

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

Trent Nadeau пре 8 месеци
родитељ
комит
9810cc86b4
1 измењених фајлова са 1 додато и 1 уклоњено
  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