style: change name def
This commit is contained in:
@@ -5,8 +5,8 @@ import { VoicesManager, Communicate } from 'edge-tts-universal';
|
|||||||
class AzureTTS implements TTSModule {
|
class AzureTTS implements TTSModule {
|
||||||
private voices: Array<string> | undefined = undefined;
|
private voices: Array<string> | undefined = undefined;
|
||||||
|
|
||||||
name = "Azure";
|
public name: string = "Azure";
|
||||||
|
|
||||||
async getVoices(): Promise<Array<string> | undefined> {
|
async getVoices(): Promise<Array<string> | undefined> {
|
||||||
if (!this.voices) {
|
if (!this.voices) {
|
||||||
const voiceMgr = await VoicesManager.create();
|
const voiceMgr = await VoicesManager.create();
|
||||||
|
|||||||
Reference in New Issue
Block a user