Skip to content

Commit

Permalink
allow SpeechTranslationConfig to set property using id (#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
glharper authored Apr 26, 2023
1 parent d071d11 commit 87227c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sdk/SpeechTranslationConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 87227c8

Please sign in to comment.