Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discrepancy between docs and TS typings #1320

Open
GoldenCorgo opened this issue Jul 18, 2024 · 1 comment
Open

Discrepancy between docs and TS typings #1320

GoldenCorgo opened this issue Jul 18, 2024 · 1 comment

Comments

@GoldenCorgo
Copy link

Hi everyone,

I've encounterd an issue. As I was copying code from examples some of them suggested putting error callback in putObject method as 6th argument. TS gives an error, it says that only 5 arguments are expected. Version 7.1.4 and version 8.0.1 give same error.

API reference https://min.io/docs/minio/linux/developers/javascript/API.html#putObject

Screenshot of TS suggestions:

Screenshot 2024-07-18 at 21 01 01

From what I see in the code, there is no argument either, so probably docs need an update. Is it a correct repo for this issue then?

@prakashsvmx
Copy link
Member

We will update the docs. It will happen once the release is done. We will also update the examples. Thank you for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants