From 0c394bdcbe159c068e92cdb01aa69ee04a946f2a Mon Sep 17 00:00:00 2001 From: neru Date: Wed, 14 Jan 2026 20:37:33 -0300 Subject: [PATCH] style: change fn def type --- src/modules/tts-modes/google.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/tts-modes/google.ts b/src/modules/tts-modes/google.ts index b50185e..2d8c4e0 100644 --- a/src/modules/tts-modes/google.ts +++ b/src/modules/tts-modes/google.ts @@ -9,9 +9,9 @@ const USER_AGENT = const ttsGoogle: TTSModule = { name: 'Google', - getVoices: async (): Promise => GOOGLE_TTS_VOICES.voices, + async getVoices(): Promise { return GOOGLE_TTS_VOICES.voices }, - generate: async (voice: string, text: string): Promise => { + async generate(voice: string, text: string): Promise { const query = new URLSearchParams({ ie: 'UTF-8', q: text,