Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue instance does not get typescript type declaration merged for $echo #31

Open
planetchili opened this issue Jan 3, 2021 · 4 comments

Comments

@planetchili
Copy link

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", ],

@ricardogobbosouza
Copy link
Member

Hi @planetchili
Added support on version 2.0.0-alpha.1
PS: I need to update docs

@ricardogobbosouza
Copy link
Member

#47

@san4io
Copy link

san4io commented Sep 22, 2021

Hello,

While using composition-api, it also doesn't get types.

    const { $echo } = useContext()

Property '$echo' does not exist on type 'UseContextReturn'

@san4io
Copy link

san4io commented Sep 22, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants