diff --git a/src/@ionic-native/plugins/text-to-speech/index.ts b/src/@ionic-native/plugins/text-to-speech/index.ts index 0dc4e1ded..ff39d0942 100644 --- a/src/@ionic-native/plugins/text-to-speech/index.ts +++ b/src/@ionic-native/plugins/text-to-speech/index.ts @@ -42,14 +42,14 @@ export class TextToSpeech extends IonicNativePlugin { /** * This function speaks - * @param options {string | TTSOptions} Text to speak or TTSOptions + * @param textOrOptions {string | TTSOptions} Text to speak or TTSOptions * @return {Promise} Returns a promise that resolves when the speaking finishes */ @Cordova({ successIndex: 1, errorIndex: 2 }) - speak(options: string | TTSOptions): Promise { + speak(textOrOptions: string | TTSOptions): Promise { return; }