From 7e05b6e7853da98ec93ca72acd72af1fe272eafe Mon Sep 17 00:00:00 2001 From: Dawid Kopys Date: Sat, 29 Jul 2023 20:14:08 +0200 Subject: [PATCH] docs: correct manually typing runtime config example (#22393) --- docs/2.guide/3.going-further/10.runtime-config.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/2.guide/3.going-further/10.runtime-config.md b/docs/2.guide/3.going-further/10.runtime-config.md index d9c76dc97279..268b5dd945a6 100644 --- a/docs/2.guide/3.going-further/10.runtime-config.md +++ b/docs/2.guide/3.going-further/10.runtime-config.md @@ -150,9 +150,9 @@ It is also possible to type your runtime config manually: declare module 'nuxt/schema' { interface RuntimeConfig { apiSecret: string - public: { - apiBase: string - } + } + interface PublicRuntimeConfig { + apiBase: string } } // It is always important to ensure you import/export something when augmenting a type