@shopify/cli-kit
Version:
A set of utilities, interfaces, and models that are common across all the platform features
16 lines (15 loc) • 595 B
TypeScript
import type { DevServer as DevServerType, DevServerCore as DevServerCoreType, HostOptions } from './types.js';
export { isDevServerEnvironment } from './env.js';
export declare class DevServer implements DevServerType {
private readonly projectName;
private readonly serverImpl;
constructor(projectName: string);
host(options?: HostOptions): string;
url(options?: HostOptions): string;
}
export declare class DevServerCore implements DevServerCoreType {
private readonly serverImpl;
constructor();
host(prefix: string): string;
url(prefix: string): string;
}