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

useUserMedia "devices" example has type errors #4321

Closed
7 tasks done
manniL opened this issue Nov 3, 2024 · 2 comments
Closed
7 tasks done

useUserMedia "devices" example has type errors #4321

manniL opened this issue Nov 3, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@manniL
Copy link

manniL commented Nov 3, 2024

Describe the bug

The vueuse.org/core/useUserMedia in the useUserMedia docs is faulty and throws type errors as constraints nested values don't accept a ref.

Originally reported in #3414

Reproduction

https://stackblitz.com/edit/vueuse-4321?file=src%2FApp.vue (StackBlitz doesn't show TS errors well, running locally is easier).

System Info

stackblitz

Used Package Manager

pnpm

Validations

@dosubot dosubot bot added the documentation Improvements or additions to documentation label Nov 3, 2024
@ilyaliao
Copy link
Contributor

I think we can close this issue!

@manniL
Copy link
Author

manniL commented Nov 24, 2024

Thanks for fixing! Resolves by #4322

@manniL manniL closed this as completed Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants