-
Notifications
You must be signed in to change notification settings - Fork 282
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
[Bug] Property 'setRequestOptions' does not exist on type 'Client' #1163
Comments
already fixed in master branch |
Hi, In the master branch, I did not find the signature of the https://github.com/minio/minio-js/blob/master/src/minio.d.ts |
Yes, now it's written in typescript so we don't need it in d.ts anymore minio-js/src/internal/client.ts Line 250 in 23ad6e2
|
you may still need types/minio before next version is released… |
The 7.1.1 is to ensure the workflow is tested end to end. so you could wait for the upcoming releases. @b0939261761 |
I updated minio to version 7.1.1. The error remains "Property 'setRequestOptions' does not exist on type 'Client'." |
yes, fixes is not released. |
Hi,
node.js - 20.1.
minio - 7.1.1
typescript - 4.9.5
When I updated minio from version 7.0.32 to version 7.1.1, I got an error.
In the file minio.d.c there is no signature of the function
setRequestOptions(options: RequestOptions): void;
.The @types/minio package has this signature of the function
setRequestOptions
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/73fd4e988115d6a2d5fbf14343c8a28985eab4ad/types/minio/index.d.ts#L651
Thanks.
The text was updated successfully, but these errors were encountered: