DeepSpeech/native_client/javascript
Anas Abou Allaban be40b07307 Add type declaration file for v0.7.0
Signed-off-by: Anas Abou Allaban <aabouallaban@pm.me>
2020-04-03 13:28:56 +02:00
..
binding.gyp Update Python, NodeJS and ElectronJS to latest stables 2020-01-13 16:17:13 +01:00
client.js Adapt JavaScript bindings to new API 2020-03-17 14:47:58 +01:00
deepspeech.i Exposing ErrorCode API in Tree bindings (#2806) 2020-03-21 15:40:39 +01:00
index.d.ts Add type declaration file for v0.7.0 2020-04-03 13:28:56 +02:00
index.js Exposing ErrorCode API in Tree bindings (#2806) 2020-03-21 15:40:39 +01:00
Makefile Update Python, NodeJS and ElectronJS to latest stables 2020-01-13 16:17:13 +01:00
package.json.in Update Python, NodeJS and ElectronJS to latest stables 2020-01-13 16:17:13 +01:00
README.md Add type declaration file for v0.7.0 2020-04-03 13:28:56 +02:00
tsconfig.json Add type declaration file for v0.7.0 2020-04-03 13:28:56 +02:00

Full project description and documentation on GitHub: https://github.com/mozilla/DeepSpeech.

Generating TypeScript Type Definitions

You can generate the TypeScript type declaration file using dts-gen. This requires a compiled/installed version of the DeepSpeech NodeJS client.

To generate a new index.d.ts type declaration file, run:

npm install -g dts-gen
dts-gen --module deepspeech --file index.d.ts