guruahn / vue-google-oauth2

🔌 Handling Google sign-in and sign-out for Vue.js applications
MIT License
183 stars 55 forks source link

$gAuth type not supported #57

Closed xorbis closed 3 years ago

xorbis commented 3 years ago

It seems $gAuth is not typed and remains as any. ie: Property '$gAuth' does not exist on type 'MyComponent'.

image

xorbis commented 3 years ago

Looking at the documentation footnote I missed: https://vuejs.org/v2/guide/typescript.html#Augmenting-Types-for-Use-with-Plugins