Skip to content

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

@mfcarroll

Description

@mfcarroll

The deno-slack versions

"deno-slack-sdk/": "https://deno.land/x/deno_slack_sdk@2.15.0/",
"deno-slack-api/": "https://deno.land/x/deno_slack_api@2.8.0/",

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions