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: match signature for nitro/nuxt useRuntimeConfigcomposables #1230

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

wattanx
Copy link
Collaborator

@wattanx wattanx commented Jun 6, 2024

πŸ”— Linked issue

Fixes: #1229

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This is caused by a mismatch in the sigunature of useRuntimeConfig in Nitro and Nuxt.
This is the same way as upstream.
nuxt/nuxt#25440

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@wattanx wattanx requested a review from danielroe June 6, 2024 14:33
@danielroe danielroe merged commit 85cf8fc into main Jun 6, 2024
61 checks passed
@danielroe danielroe deleted the fix/match-signature branch June 6, 2024 15:14
@github-actions github-actions bot mentioned this pull request May 29, 2024
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.

useRuntimeConfig() returns NitroRuntimeConfig type
2 participants