Continue refactoring

This commit is contained in:
2024-04-14 22:23:11 +02:00
parent 0a6d779867
commit 358195bf97
12 changed files with 147 additions and 152 deletions

View File

@ -13,7 +13,7 @@ export const sound = (app: any) => (sound: string | string[] | null | undefined)
export const snd = sound;
export const speak = (app: any) => (text: string, lang: string = "en-US", voiceIndex: number = 0, rate: number = 1, pitch: number = 1): void => {
export const speak = () => (text: string, lang: string = "en-US", voiceIndex: number = 0, rate: number = 1, pitch: number = 1): void => {
/**
* Speaks the given text using the browser's speech synthesis API.
* @param text - The text to speak.