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);