mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 01:45:53 +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' {
|
declare module 'nuxt/schema' {
|
||||||
interface RuntimeConfig {
|
interface RuntimeConfig {
|
||||||
apiSecret: string
|
apiSecret: string
|
||||||
public: {
|
}
|
||||||
apiBase: string
|
interface PublicRuntimeConfig {
|
||||||
}
|
apiBase: string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// It is always important to ensure you import/export something when augmenting a type
|
// It is always important to ensure you import/export something when augmenting a type
|
||||||
|
Loading…
Reference in New Issue
Block a user