vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
10 lines (9 loc) • 512 B
TypeScript
export type { ConfigResolved };
import type { ConfigBuiltIn, ConfigBuiltInResolved } from '../Config.js';
import type { ImportStringList } from '../../node/vite/shared/importString.js';
type ConfigUnresolved = WithoutImportString<ConfigBuiltIn & Vike.Config>;
type ConfigResolvedOnly = ConfigBuiltInResolved & Vike.ConfigResolved;
type ConfigResolved = ConfigResolvedOnly & Omit<ConfigUnresolved, keyof ConfigResolvedOnly>;
type WithoutImportString<T> = {
[K in keyof T]: Exclude<T[K], ImportStringList>;
};