UNPKG

five-server

Version:

Development Server with Live Reload Capability. (Maintained Fork of Live Server)

20 lines 875 B
import { LiveServerParams } from './types'; export * from './helpers'; export declare const createHttpError: (code?: number, msg?: string, _nothing?: any) => { message: string; code: number; status: number; statusCode: number; name: number; }; export declare const fileDoesExist: (path: string) => Promise<boolean>; export declare const defaultPHPPath: (is_ci?: boolean) => "" | "/opt/homebrew/bin/php" | "/usr/local/bin/php" | "/usr/bin/php" | "c:\\tools\\php\\php.exe"; /** * Get and parse the configFile. * @param configFile Absolute path of configFile, or true, or false. * @param workspace Absolute path to the current workspace. * @returns LiveServerParams */ export declare const getConfigFile: (configFile?: string | boolean, workspace?: string) => LiveServerParams; export declare const donate: () => void; //# sourceMappingURL=misc.d.ts.map