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: check if awaitable is an object #43

Merged
merged 2 commits into from Nov 28, 2022

Conversation

manniL
Copy link
Member

@manniL manniL commented Nov 27, 2022

Resolves nuxt/nuxt#15778

Adds a check if awaitable is an object to avoid obscure errors for end users. Also adds tests to ensure the functionality is not affected

src/index.ts Outdated Show resolved Hide resolved
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ❤️

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.

"Cannot use 'in' operator to search for 'catch' in undefined" when using pinia in the plugin
2 participants