laravel-echo-module
laravel-echo-module copied to clipboard
Vue instance does not get typescript type declaration merged for $echo
Unlike the $axios module, I do not get any type information for $echo.
I have added to the types array as follows:
"types": [ "@types/node", "@nuxt/types", "@nuxtjs/axios", "@nuxtjs/laravel-echo", ],
Hi @planetchili
Added support on version 2.0.0-alpha.1
PS: I need to update docs
#47
Hello,
While using composition-api, it also doesn't get types.
const { $echo } = useContext()
Property '$echo' does not exist on type 'UseContextReturn'
Hello,
While using composition-api, it also doesn't get types.
const { $echo } = useContext()Property '$echo' does not exist on type 'UseContextReturn'
Excuse me if I switch to "@nuxtjs/laravel-echo": "2.0.0-alpha.5", everything is ok!