소스 검색

@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