chore(firefox): move sources from //lib/firefox to //lib (#3920)

This commit is contained in:
Andrey Lushnikov
2019-02-05 18:56:04 -08:00
committed by GitHub
parent a210dd7ee2
commit 1676f9927c
13 changed files with 7 additions and 7 deletions

View File

@@ -0,0 +1,28 @@
import { Connection as RealConnection } from './Connection';
import { Target as RealTarget } from './Browser';
import * as child_process from 'child_process';
declare global {
module Puppeteer {
export interface ConnectionTransport {
send(string);
close();
onmessage?: (message: string) => void,
onclose?: () => void,
}
export interface ChildProcess extends child_process.ChildProcess { }
export type Viewport = {
width: number;
height: number;
deviceScaleFactor?: number;
isMobile?: boolean;
isLandscape?: boolean;
hasTouch?: boolean;
}
export class Connection extends RealConnection { }
export class Target extends RealTarget { }
}
}