https://github.com/bradmartin/nativescript-texttospeech
This texttospeech package has TypeScript documentation available.
Is there a way to convert this code for use in NS-Vue?
import { TNSTextToSpeech, SpeakOptions } from 'nativescript-texttospeech';
let TTS = new TNSTextToSpeech();
let speakOptions: SpeakOptions = {
text: 'hello world',
};
TTS.speak(speakOptions);
I prefer not to use TypeScript and would like a button that can talk in Nativescript-Vue instead.
Thank you in advance