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
Note that it currently returns an empty string when versioning has never been toggled on. It might be a good idea to return {Status: "Disabled"} instead.
The text was updated successfully, but these errors were encountered:
Thanks @prakashsvmx for the fix. But the new typing still doesn't address the possible return value '' when versioning has never been enabled. Will that be fixed?
Thanks @prakashsvmx for the fix. But the new typing still doesn't address the possible return value '' when versioning has never been enabled. Will that be fixed?
The function here definitely returns something, so its return type shouldn't be
Promise<void>
.minio-js/src/internal/client.ts
Line 2095 in 8633968
Here is my suggestion. I didn't look very closely so I might have missed some fields.
Note that it currently returns an empty string when versioning has never been toggled on. It might be a good idea to return
{Status: "Disabled"}
instead.The text was updated successfully, but these errors were encountered: