11 lines
249 B
TypeScript
11 lines
249 B
TypeScript
interface LaunchOption {
|
|
chromePath?: string;
|
|
onError?: Function;
|
|
onExit?: Function;
|
|
}
|
|
declare function launch(url: string, options?: LaunchOption): Promise<{}>;
|
|
declare const _default: {
|
|
launch: typeof launch;
|
|
};
|
|
export = _default;
|