This PR adds plugin type declaration injection, this also to enables ctrl+click to open $cookies definition when used with the useNuxtApp composable. I've seen other modules type their plugins this way too.
Injecting plugin types also avoids unknown types on vue-tsc checks.
📚 Description
This PR adds plugin type declaration injection, this also to enables ctrl+click to open
$cookies
definition when used with theuseNuxtApp
composable. I've seen other modules type their plugins this way too.Injecting plugin types also avoids unknown types on
vue-tsc
checks.Solves ci errors on #220
📝 Checklist