Issue calling isAvailable on email composer?

I am trying to use the cordova-plugin-email-composer as per the documentation however the isAvailable function is not available, I have read elsewhere that isAvailable has been replaced with hasClient and hasAccount but the ionic types have not been updated accordingly but that was months ago??

I get the following error: -

Error: Uncaught (in promise): TypeError: EmailComposer.getPlugin(...).isAvailable is not a function