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

fix(inject): allow default value to be undefined #930

Merged
merged 2 commits into from May 5, 2022
Merged

fix(inject): allow default value to be undefined #930

merged 2 commits into from May 5, 2022

Conversation

seanogdev
Copy link
Contributor

Matches vue 3's implementation on provide/inject where passing undefined as a defaultValue silences the error

https://github.com/vuejs/core/pull/894/files

@antfu antfu merged commit 17d3fc1 into vuejs:main May 5, 2022
@seanogdev seanogdev deleted the fix-inject-undefined branch May 5, 2022 17:10
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

Successfully merging this pull request may close these issues.

None yet

2 participants