import type { KitConfig } from "./kitConfig" ; import type { ServerConfig , ServerRequiredParameters } from "./serverConfig" ; export type ServerWithRequiredParameters = ServerConfig & ServerRequiredParameters ; param config returns export function getServerConfig ( config ) { const defaultConfig = { detectCyclicDependencies : true , detectDuplicateDependencies : true , typescriptValidation : true , experimental_treeShake : false } ; return { ... defaultConfig , ... ( config . server ?? { } ) } ; }