puppeteer/utils
Jack Franklin 5e8d79bf98
chore: upgrade to TypeScript 3.5 (#5556)
TS 3.5 got much stricter on writing changes to objects with varied types [1] so we have to do a bit of typecasting work to convince TS about the types of keys and values that we are setting.

Longer term we should think about a better data structure that avoids us having to jump through some hoops but for now I think this is a reasonable step to get us onto 3.5.

Same story regarding bindings on `window`: the easiest fix is to cast `window` to `any` for the code that adds to it. I'm sure we can come up with a more type-safe way of doing this in the future.

[1]: https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#fixes-to-unsound-writes-to-indexed-access-types
2020-03-31 10:48:09 +02:00
..
browser chore: update URLs (#5185) 2019-11-26 13:12:25 +01:00
doclint chore: upgrade to TypeScript 3.5 (#5556) 2020-03-31 10:48:09 +02:00
flakiness-dashboard chore(flaky): save build result (#4819) 2019-08-08 20:53:12 -07:00
protocol-types-generator feat(launcher): add option to run Puppeteer with different browsers (#5137) 2019-11-26 10:23:19 +01:00
testrunner chore: update URLs (#5185) 2019-11-26 13:12:25 +01:00
testserver chore: update URLs (#5185) 2019-11-26 13:12:25 +01:00
apply_next_version.js chore: update URLs (#5185) 2019-11-26 13:12:25 +01:00
bisect.js chore(bisect): inherit parent ENV when launching script (#4842) 2019-08-13 16:28:09 -07:00
check_availability.js chore: improve //utils/check_availability.js (#4770) 2019-07-29 14:29:50 -07:00
ESTreeWalker.js feat(launcher): add experimental "transport" option to pptr.connect (#3265) 2018-09-20 11:55:23 -07:00
fetch_devices.js fix(devicedescriptors): fix UA in DeviceDescriptors (#2741) 2018-06-14 13:55:09 -07:00
prepare_puppeteer_core.js feat: make it possible to run install.js script with puppeteer-core (#5325) 2020-01-28 13:08:13 +01:00