Skip to content

Commit

Permalink
✨ feat: support static method
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Nov 16, 2023
1 parent 0f3ffa4 commit bae66c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/EdgeSpeechTTS/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class EdgeSpeechTTS {
static localeOptions = getVoiceLocaleOptions();
static voiceList = edgeVoiceList;
static voiceName = voiceName;
static completion = createEdgeSpeech;
static createRequest = createEdgeSpeech;

private fetch = async (payload: EdgeSpeechPayload) => {
const response = await (this.BASE_URL
Expand Down
1 change: 1 addition & 0 deletions src/core/MicrosoftSpeechTTS/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export class MicrosoftSpeechTTS {
}

static localeOptions = getVoiceLocaleOptions();
static createRequest: typeof createMicrosoftSpeech = createMicrosoftSpeech;

static voiceList = azureVoiceList;
static voiceName = voiceName;
Expand Down

0 comments on commit bae66c6

Please sign in to comment.