next
Version:
The React Framework
18 lines (17 loc) • 561 B
TypeScript
import '../server/lib/cpu-profile';
export type NextDevOptions = {
disableSourceMaps: boolean;
turbo?: boolean;
turbopack?: boolean;
port: number;
hostname?: string;
experimentalHttps?: boolean;
experimentalHttpsKey?: string;
experimentalHttpsCert?: string;
experimentalHttpsCa?: string;
experimentalUploadTrace?: string;
};
type PortSource = 'cli' | 'default' | 'env';
declare const nextDev: (options: NextDevOptions, portSource: PortSource, directory?: string) => Promise<void>;
export { nextDev };