fix build
Browse files
src/contexts/TextToSpeechContext.tsx
CHANGED
@@ -19,7 +19,11 @@ interface TextToSpeechContextType {
|
|
19 |
setAudioResults: React.Dispatch<React.SetStateAction<AudioResult[]>>
|
20 |
currentText: string
|
21 |
setCurrentText: React.Dispatch<React.SetStateAction<string>>
|
22 |
-
addAudioResult: (
|
|
|
|
|
|
|
|
|
23 |
clearAudioResults: () => void
|
24 |
}
|
25 |
|
|
|
19 |
setAudioResults: React.Dispatch<React.SetStateAction<AudioResult[]>>
|
20 |
currentText: string
|
21 |
setCurrentText: React.Dispatch<React.SetStateAction<string>>
|
22 |
+
addAudioResult: (
|
23 |
+
text: string,
|
24 |
+
audio: Omit<AudioResult, 'text'>,
|
25 |
+
voice?: string
|
26 |
+
) => void
|
27 |
clearAudioResults: () => void
|
28 |
}
|
29 |
|