UNPKG

nuxt

Version:

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

13 lines • 575 B
import { AppConfig } from "nuxt/schema"; //#region src/app/config.d.ts export type DeepPartial<T> = T extends Function ? T : T extends Record<string, any> ? { [P in keyof T]?: DeepPartial<T[P]>; } : T; export declare const _getAppConfig: () => AppConfig; export declare function useAppConfig(): AppConfig; export declare function _replaceAppConfig(newConfig: AppConfig): void; /** * Deep assign the current appConfig with the new one. * * Will preserve existing properties. */ export declare function updateAppConfig(appConfig: DeepPartial<AppConfig>): void; //#endregion