Files
DefinitelyTyped/types/puppeteer
Larry1123 192edcd269 Extend screenshot encoding support (#28713)
Overloaded the screenshot methods to define the return type based on what kind of encoding is used.
Edited the test and made sure normal ScreenshotOptions worked as normal still, the two new extended interfaces can be used for objects to pass in also but did not add test for that directly, should be handled right with the current test cases.
2018-09-14 10:34:19 -07:00
..