playwright/docs
Dmitry Gozman 4bb563b015
fix(expect): proper return types (#13334)
A few changes:
- `Matchers<R, T>` now carries both return and argument type.
- Based on the argument type, we apply playwright-specific Page/Locator matchers.
- Return type is usually void, unless wrapped with `expect.resolves`,
  `expect.rejects` or `expect.poll()`.
- To preserve compatibility with any extended types in the wild,
  argument type is optional.
2022-04-05 16:11:11 -07:00
..
development devops: migrate from master to main branch (#10303) 2021-12-07 22:58:33 -08:00
src fix(expect): proper return types (#13334) 2022-04-05 16:11:11 -07:00