next
Version:
The React Framework
18 lines (17 loc) • 471 B
TypeScript
import '../server/lib/cpu-profile';
export type NextStartOptions = {
port: number;
hostname?: string;
keepAliveTimeout?: number;
turbo?: boolean;
turbopack?: boolean;
};
/**
* 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 };