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

S3Client static methods are not marked as such #18818

Open
thexeos opened this issue Apr 7, 2025 · 0 comments · May be fixed by #18819
Open

S3Client static methods are not marked as such #18818

thexeos opened this issue Apr 7, 2025 · 0 comments · May be fixed by #18819
Labels
bug Something isn't working types An issue with TypeScript types

Comments

@thexeos
Copy link
Contributor

thexeos commented Apr 7, 2025

What version of Bun is running?

No response

What platform is your computer?

No response

What steps can reproduce the bug?

Static methods presign, exists, stat, delete, as well as several undocumented methods are not marked as static.

https://bun.sh/docs/api/s3#s3client-static-methods

klass: {
file: {
fn: "staticFile",
length: 2,
},
unlink: {
fn: "staticUnlink",
length: 2,
},
delete: {
/// just an alias for unlink
fn: "staticUnlink",
length: 2,
},
list: {
fn: "staticListObjects",
length: 2,
},
presign: {
fn: "staticPresign",
length: 2,
},
exists: {
fn: "staticExists",
length: 2,
},
size: {
fn: "staticSize",
length: 2,
},
write: {
fn: "staticWrite",
length: 2,
},
stat: {
fn: "staticStat",
length: 2,
},
},

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

@thexeos thexeos added bug Something isn't working types An issue with TypeScript types labels Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working types An issue with TypeScript types
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant