mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
docs: correct manually typing runtime config example (#22393)
This commit is contained in:
parent
ae8a2fb521
commit
7e05b6e785
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user