react-speech-kit
react-speech-kit copied to clipboard
Support TypeScript
Hello,
is there support for TypeScript planned or anywhere available?
Thanks
Hello @dohomi, I have tried adding some types
work in progress
Oh, I see.. I need this in typescript as well. I just wanted only 'speak' method. Is there any quick fix for now? Please help.
I found it.. const speak = (msg: string) => window.speechSynthesis.speak(new SpeechSynthesisUtterance(msg)); // directly using builtin method. Thanks for your package as well. It is really useful for boarder functionality. Adding typescript support would help to reach more developers.
@MikeyParton , please help us out with this requirement. We need a defined types module too.