playwright/utils
Joel Einbinder a853690c16
fix(types): don't export derived types (#1598)
I was playing around today with different ways of changing the way we export types for #1439. I looked at only exporting 'Parameter' types, only exporting 'Return' types, only exporting a manual list of 'important' types. They all had different pros and cons, and it was very difficult to settle on a good answer.

For now, let's not export any parameter/return types. We can whitelist some types upon user request. I'm thinking `LaunchOptions` and `AccessibilitySnapshot` could be quite useful. We can always add new types after 1.0, but we can't remove them.

The patch looks funny because this was my original intent for the types, but I didn't know I had to `export {}` to tell typescript that my .d.ts shouldn't export everything.
2020-03-31 16:19:20 -07:00
..
doclint chore(testrunner): merge test spec with test, suite spec with suite (#1566) 2020-03-26 22:47:13 -07:00
flakiness-dashboard doc: fix typos (#1284) 2020-03-07 08:37:47 -08:00
generate_types fix(types): don't export derived types (#1598) 2020-03-31 16:19:20 -07:00
protocol-types-generator fix(install): speculative fix for generateChromiumProtocol (#1583) 2020-03-27 22:42:39 -07:00
testrunner chore(testrunner): introduce Location class (#1585) 2020-03-29 21:38:30 -07:00
testserver chore: add logging to the testing server (#1505) 2020-03-24 09:11:56 -07:00
bisect.js api: remove BrowserFetcher from api, update docs (#487) 2020-01-14 10:07:26 -08:00
check_availability.js devops: remake downloading logic (#1419) 2020-03-19 11:43:35 -07:00
ESTreeWalker.js Initial commit 2019-11-19 10:58:15 -08:00
print_versions.js chore: guide for producing release notes (#1165) 2020-02-28 14:40:50 -08:00
publish_all_packages.sh chore(ci): different attempt to publish on Travis 2020-03-02 19:00:47 -08:00
runWebpack.js chore(selectors): move selectors logic to selectors.ts (#1536) 2020-03-25 14:08:46 -07:00
update_version.js devops: restore publishing @next version (#1540) 2020-03-25 17:31:19 -07:00