Type '() => Promise<{ vite: { server: { watch: WatchOptions; fs: { allow: string[]; }; middlewareMode: false; }; define: { 'process.server': boolean; 'process.client': boolean; 'process.browser': boolean; 'process.nitro': boolean; 'process.prerender': boolean; }; ... 6 more ...; logLevel: "info"; }; setupCode: string[]; v...' is not assignable to type '(defaultConfig: HistoireConfig, mode: ConfigMode) => void | Partial<HistoireConfig> | Promise<void | Partial<HistoireConfig>>'.