mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix(types): upgrade node types to 8.10.34 (#3341)
This commit is contained in:
committed by
Andrey Lushnikov
parent
c9657f8819
commit
cd54ce388e
@@ -164,7 +164,6 @@ class Launcher {
|
||||
const transport = await WebSocketTransport.create(browserWSEndpoint);
|
||||
connection = new Connection(browserWSEndpoint, transport, slowMo);
|
||||
} else {
|
||||
// @ts-ignore - TypeScript incorrectly thinks stdio can't go above 2
|
||||
const transport = new PipeTransport(/** @type {!NodeJS.WritableStream} */(chromeProcess.stdio[3]), /** @type {!NodeJS.ReadableStream} */ (chromeProcess.stdio[4]));
|
||||
connection = new Connection('', transport, slowMo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user