@coko/server
Version:
Reusable server for use by Coko's projects
9 lines • 407 B
TypeScript
import http from 'http';
import { ConfigType } from './configManager/configSchema';
/**
* startServer is run with no parameters, but we allow a testConfig so that
* tests can run the server in a specified setup.
*/
export declare const startServer: (testConfig?: Partial<ConfigType>) => Promise<http.Server>;
export declare const shutdownFn: () => Promise<void>;
//# sourceMappingURL=startServer.d.ts.map