Skip to content

Commit

Permalink
docs: correct manually typing runtime config example (#22393)
Browse files Browse the repository at this point in the history
  • Loading branch information
DawidKopys committed Jul 29, 2023
1 parent ae8a2fb commit 7e05b6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/2.guide/3.going-further/10.runtime-config.md
Expand Up @@ -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
Expand Down

0 comments on commit 7e05b6e

Please sign in to comment.