diff --git a/packages/schema/src/types/config.ts b/packages/schema/src/types/config.ts index 1ba1d89c85..0446e1aa26 100644 --- a/packages/schema/src/types/config.ts +++ b/packages/schema/src/types/config.ts @@ -4,7 +4,8 @@ import type { ResolvedConfig } from 'c12' type DeepPartial = T extends Record ? { [P in keyof T]?: DeepPartial } : T /** User configuration in `nuxt.config` file */ -export interface NuxtConfig extends DeepPartial { +export interface NuxtConfig extends DeepPartial> { + vite?: ConfigSchema['vite'] [key: string]: any }