Closed rizametovd closed 2 months ago
Describe the bug According to docs onSuccess callback should accept a payload, but in index.d.ts the signature for onSuccess is: onSuccess?: (() => void) | null
onSuccess
payload
index.d.ts
onSuccess?: (() => void) | null
Thanks for reporting it. Should be fixed in https://github.com/tus/tus-js-client/releases/tag/v4.2.1.
Describe the bug According to docs
onSuccess
callback should accept apayload
, but inindex.d.ts
the signature foronSuccess
is:onSuccess?: (() => void) | null