From def82144548cee91d3461c877a58913147d014a3 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Mon, 4 May 2020 14:08:49 +0200 Subject: [PATCH] Remove dts-gen docs from JavaScript package README X-DeepSpeech: NOBUILD --- native_client/javascript/README.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/native_client/javascript/README.md b/native_client/javascript/README.md index 39b291f6..b77e0318 100644 --- a/native_client/javascript/README.md +++ b/native_client/javascript/README.md @@ -1,18 +1 @@ Full project description and documentation on [https://deepspeech.readthedocs.io/](https://deepspeech.readthedocs.io/). - -## 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. - -Upon API change, it is required to generate a new `index.d.ts` type declaration -file, you have to run: - -```sh -npm install -g dts-gen -dts-gen --module deepspeech --file index.d.ts -``` - -### Example usage - -See `client.ts`