mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(schema): exclude vite
from DeepPartial
(#4772)
This commit is contained in:
parent
f74a523f13
commit
8962cb7ef4
@ -4,7 +4,8 @@ import type { ResolvedConfig } from 'c12'
|
||||
type DeepPartial<T> = T extends Record<string, any> ? { [P in keyof T]?: DeepPartial<T[P]> } : T
|
||||
|
||||
/** User configuration in `nuxt.config` file */
|
||||
export interface NuxtConfig extends DeepPartial<ConfigSchema> {
|
||||
export interface NuxtConfig extends DeepPartial<Omit<ConfigSchema, 'vite'>> {
|
||||
vite?: ConfigSchema['vite']
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user