You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dmitriiprusakov
changed the title
RetryDelays: "Type 'null' is not assignable to type number[] | undefined". But null is acceptable.
RetryDelays: "Type 'null' is not assignable to type 'number[] | undefined'". But null is acceptable.
Nov 24, 2023
Bug description:
Option retryDelays can be an array or null, but in type definitions null is not assignable.
Current type for retryDelays:
retryDelays?: number[]
@uppy/tus version: latest 3.4.0
tus-js-client version: latest 3.1.1
To Reproduce
Use latest 3.1.1 version of tus-js-client.
Expected behavior
No typescript error, null is acceptable for retryDelays.
Expected type:
retryDelays?: number[] | null
The text was updated successfully, but these errors were encountered: