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

[BUG] Missing definitions for new file upload functions #119

Open
mfcarroll opened this issue Mar 6, 2025 · 1 comment
Open

[BUG] Missing definitions for new file upload functions #119

mfcarroll opened this issue Mar 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mfcarroll
Copy link

The deno-slack versions

"deno-slack-sdk/": "https://deno.land/x/[email protected]/",
"deno-slack-api/": "https://deno.land/x/[email protected]/",

Deno runtime version

deno 2.1.9 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2

OS info

ProductName:		macOS
ProductVersion:		15.2
BuildVersion:		24C101
Darwin Kernel Version 24.2.0: Fri Dec  6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030

Describe the bug

The deno api is missing definitions for the new file upload functions.

Steps to reproduce

Use client.files.getUploadURLExternal() or client.files.completeUploadExternal() functions.

Expected result

deno-ts to show the properties for these functions, and not complain.

Actual result

Property 'getUploadURLExternal' does not exist on type 'FilesAPIType'. deno-ts(2339)

Image

The code itself works fine. There is no actual error.

Thanks

@misscoded misscoded added the bug Something isn't working label Mar 6, 2025
@misscoded
Copy link

Hi @mfcarroll! Thanks for birnging this to our attention. The team is at a conference this week, but we'll work on getting the definitions added once they're back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants