next
Version:
The React Framework
16 lines (15 loc) • 425 B
TypeScript
import '../server/lib/cpu-profile';
export type NextStartOptions = {
port: number;
hostname?: string;
keepAliveTimeout?: number;
};
/**
* Start the Next.js server
*
* @param options The options for the start command
* @param directory The directory to start the server in
*/
declare const nextStart: (options: NextStartOptions, directory?: string) => Promise<void>;
export { nextStart };