-
Notifications
You must be signed in to change notification settings - Fork 507
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
RuntimeConfig property is unknown #1253
Comments
@maou-shonen Could you provide more information / a reproduction please ? |
@Hebilicious My runtimeConfig is as follows:
When using |
Could you please provide a reproduction ? 🙏🏽 |
https://codesandbox.io/p/sandbox/nitro-5jssbm?file=/routes/api/hello.ts:4,24 check type of key1 |
I think the idea is to automatically generate runtime config types from |
100% as @pi0 said Coming from nuxt, I thought runtime config would behave the same. |
Understood, my bad I didn't realise this only worked in Nuxt. |
Me too, I thought it would have been in Nitro |
can we close this in favor of #1706 |
Describe the feature
refer unjs/h3#386
Perhaps the same behavior can be provided for
RuntimeConfig
?Additional information
The text was updated successfully, but these errors were encountered: