Overwriting auto-generated RuntimeConfig type

Hi! How do I overwrite the types for runtimeConfig in nuxt.config.ts with my custom type? The example in the docs is seems incomplete or at least doesn't work for me: https://nuxt.com/docs/guide/going-further/runtime-config#manually-typing-runtime-config I tried creating an index.d.ts file in the root of the project and deleting the .nuxt folder and restarting the dev server, but that didn't work for me. I haven't made a .d.ts file before so maybe I'm just doing it wrong.
Nuxt
Runtime Config · Nuxt Advanced
Nuxt provides a runtime config API to expose configuration within your application.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server