alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.37k stars 1.04k forks source link

[Node.js package] Add TypeScript type definitions #1467

Open TejasQ opened 7 months ago

TejasQ commented 7 months ago

Hello, I added type definitions for this project to https://github.com/DefinitelyTyped/DefinitelyTyped/pull/67445, enabling users to npm install @types/vosk into TypeScript applications and getting type definitions through that.

The only thing required here is an approval (or comment of approval) on that pull request from a maintainer of this project. If we can get that in, we can merge this. :)

nshmyrev commented 7 months ago

sure, probably it would be nice. Btw, we have a pull request about typescript here:

https://github.com/alphacep/vosk-api/pull/546

TejasQ commented 7 months ago

Wow, that's been open since 2021. 😨 I wonder which one we'll merge sooner. 😋