Skip to content

Commit 3871e1e

Browse files
committed
apply review suggestions
1 parent c4c6f7c commit 3871e1e

File tree

1 file changed

+3
-3
lines changed
  • packages/react-native-executorch/src/types

1 file changed

+3
-3
lines changed

packages/react-native-executorch/src/types/tts.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type TextToSpeechLanguage =
1212
*
1313
* @property {TextToSpeechLanguage} lang - speaker's language
1414
* @property {ResourceSource} voiceSource - a source to a binary file with voice embedding
15-
* @property {Record<string, unknown>} [extra] - an optional extra sources or properties related to specyfic voice
15+
* @property {Record<string, unknown>} [extra] - an optional extra sources or properties related to specific voice
1616
*/
1717
export interface VoiceConfig {
1818
lang: TextToSpeechLanguage;
@@ -49,7 +49,7 @@ export interface TextToSpeechConfig {
4949
* Text to Speech module input definition
5050
*
5151
* @property {string} text - a text to be spoken
52-
* @property {number} [speed] - optional speed argument - the higher it is, the faster the speach becomes
52+
* @property {number} [speed] - optional speed argument - the higher it is, the faster the speech becomes
5353
*/
5454
export interface TextToSpeechInput {
5555
text: string;
@@ -59,7 +59,7 @@ export interface TextToSpeechInput {
5959
/**
6060
* Text to Speech streaming input definition
6161
*
62-
* Streaming mode in T2S is synchronized by passing specyfic callbacks
62+
* Streaming mode in T2S is synchronized by passing specific callbacks
6363
* executed at given moments of the streaming.
6464
* Actions such as playing the audio should happen within the onNext callback.
6565
* @property {() => void | Promise<void>} [onBegin] - Called when streaming begins

0 commit comments

Comments
 (0)