Export the Stream class so type information can be imported by sholtrop · Pull Request #3456 · mozilla/DeepSpeech (original) (raw)

In TypeScript, I would like to be able to do this:

let inferenceStream: Deepspeech.Stream | null = null

To then initialize it later. However, the Stream class is not exported, and as a result neither is its type definition, meaning I cannot import it. This PR just adds the export keyword to solve this.