From 4bfceadb65029675b664368cc31c2802333cb78f Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Fri, 19 May 2017 00:35:06 -0400 Subject: [PATCH] refactor(tts): rename the speak method param --- src/@ionic-native/plugins/text-to-speech/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }