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

Is this library usable from Typescript? #2317

Closed
alper opened this issue Nov 2, 2024 · 3 comments
Closed

Is this library usable from Typescript? #2317

alper opened this issue Nov 2, 2024 · 3 comments
Labels
question M-T: User needs support to use the project TypeScript-specific

Comments

@alper
Copy link

alper commented Nov 2, 2024

I think it should be clear that this is a javascript library and from typescript we should not really expect anything to work see #2316.

Isn't it absurd not to have a Typescript first approach?

@alper alper added the untriaged label Nov 2, 2024
@alper
Copy link
Author

alper commented Nov 2, 2024

Like I can't even cast any of the objects I get because the interfaces are not exported?

@seratch seratch added question M-T: User needs support to use the project TypeScript-specific and removed untriaged labels Nov 2, 2024
@seratch
Copy link
Member

seratch commented Nov 2, 2024

I've provided an answer to this question at #2316 (comment) If you have follow-up questions, write in the the issue instead.

@seratch seratch closed this as completed Nov 2, 2024
@filmaj
Copy link
Contributor

filmaj commented Nov 2, 2024

FYI in bolt v4 the types are re-exported: https://github.com/slackapi/bolt-js/blob/main/src/index.ts#L76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question M-T: User needs support to use the project TypeScript-specific
Projects
None yet
Development

No branches or pull requests

3 participants