Reference custom plugins with ionic 2 (speech to text)


i’m trying to use a speech recognition plugin but have only been able to find examples in ionic 1, and am getting a reference error:

[ts]  Cannot find name 'SpeechRecognition'

when i try creating a new instance:

this.reference = new SpeechRecognition();

How would i call ‘SpeechRecognition’ if the clobber’s target in the plugin.xml is: SpeechRecognition.

This is my basic app on github.
I know this is similar to questions @mhartington has answered so hopefully you might have an idea? thanks