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

Feature request: add Typescript @types for the WASM bindings #2320

Open
Dexterp37 opened this issue Dec 10, 2022 · 0 comments
Open

Feature request: add Typescript @types for the WASM bindings #2320

Dexterp37 opened this issue Dec 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Dexterp37
Copy link
Collaborator

Welcome to the 🐸STT project! We are excited to see your interest, and appreciate your support!

This repository is governed by the Contributor Covenant Code of Conduct. For more details, see the CODE_OF_CONDUCT.md file.

If you have a feature request, then please provide the following information:

Is your feature request related to a problem? Please describe.
The current WASM bindings are written in JS and do not have type information, making it hard to work with in TS-based web projects.

Describe the solution you'd like
The generation of Typescript annotation/@types for the WASM JS APIs. This can happen either manually or, for example, generating them via JSDocs.

Describe alternatives you've considered
Do nothing :-) Folks can keep using the the APIs with no type hint, but that will make it hard to use in TS projects and more error prone.

Additional context
This came up a couple of times already in the coqui-STT Matrix channel.

@Dexterp37 Dexterp37 added the enhancement New feature or request label Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant