From b0e0972b78e4e931aa62c4db842a9373c61fd153 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Wed, 6 May 2020 12:03:50 +0200 Subject: [PATCH] Fix reference to Stream.finishStreamWithMetadata --- native_client/javascript/index.d.ts | 2 +- native_client/javascript/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/native_client/javascript/index.d.ts b/native_client/javascript/index.d.ts index dfe365cd..339fb36e 100644 --- a/native_client/javascript/index.d.ts +++ b/native_client/javascript/index.d.ts @@ -177,7 +177,7 @@ export function FreeModel(model: Model): void; /** * Free memory allocated for metadata information. * - * @param metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Model.finishStreamWithMetadata` + * @param metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Stream.finishStreamWithMetadata` */ export function FreeMetadata(metadata: Metadata): void; diff --git a/native_client/javascript/index.js b/native_client/javascript/index.js index e349b69d..f684f503 100644 --- a/native_client/javascript/index.js +++ b/native_client/javascript/index.js @@ -230,7 +230,7 @@ function FreeModel(model) { /** * Free memory allocated for metadata information. * - * @param {object} metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Model.finishStreamWithMetadata` + * @param {object} metadata Object containing metadata as returned by :js:func:`Model.sttWithMetadata` or :js:func:`Stream.finishStreamWithMetadata` */ function FreeMetadata(metadata) { return binding.FreeMetadata(metadata);