style: change fn def type

This commit is contained in:
2026-01-14 20:37:33 -03:00
parent efa52dffbc
commit 0c394bdcbe
+2 -2
View File
@@ -9,9 +9,9 @@ const USER_AGENT =
const ttsGoogle: TTSModule = { const ttsGoogle: TTSModule = {
name: 'Google', name: 'Google',
getVoices: async (): Promise<string[]> => GOOGLE_TTS_VOICES.voices, async getVoices(): Promise<string[]> { return GOOGLE_TTS_VOICES.voices },
generate: async (voice: string, text: string): Promise<TTSResponse> => { async generate(voice: string, text: string): Promise<TTSResponse> {
const query = new URLSearchParams({ const query = new URLSearchParams({
ie: 'UTF-8', ie: 'UTF-8',
q: text, q: text,