From 87227c826fc124280a46cafdb76594a0e9e58a47 Mon Sep 17 00:00:00 2001 From: Glenn Harper <64209257+glharper@users.noreply.github.com> Date: Wed, 26 Apr 2023 14:50:56 -0400 Subject: [PATCH] allow SpeechTranslationConfig to set property using id (#672) --- src/sdk/SpeechTranslationConfig.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sdk/SpeechTranslationConfig.ts b/src/sdk/SpeechTranslationConfig.ts index 605dc4ca..1eaa2175 100644 --- a/src/sdk/SpeechTranslationConfig.ts +++ b/src/sdk/SpeechTranslationConfig.ts @@ -193,10 +193,10 @@ export abstract class SpeechTranslationConfig extends SpeechConfig { * @member SpeechTranslationConfig.prototype.setProperty * @function * @public - * @param {string} name - The name of the property. - * @param {string} value - The value. + * @param {string | PropertyId} name - The name of the property to set. + * @param {string} value - The new value of the property. */ - public abstract setProperty(name: string, value: string): void; + public abstract setProperty(name: string | PropertyId, value: string): void; /** * Dispose of associated resources. @@ -401,7 +401,7 @@ export class SpeechTranslationConfigImpl extends SpeechTranslationConfig { * @member SpeechTranslationConfigImpl.prototype.setProperty * @function * @public - * @param {string} name - The name of the property. + * @param {string | PropertyId} name - The name of the property to set. * @param {string} value - The value of the property. */ public setProperty(name: string | PropertyId, value: string): void {