playwright/types
Jason Harwig 42a5566653
fix(types): fix waitForSelector typing to not union null when appropriate (#6344)
Previously when options were defined, but no `state` key was provided,
the types would return null as an option. Even though the default state
is `visible` and shouldn't allow `null`.

Tests updated to fail appropriately and new tests added for this case.
2021-05-05 13:03:27 -07:00
..
protocol.d.ts feat(chromium): bump to r878941 (#6216) 2021-05-05 09:47:34 -07:00
structs.d.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
types.d.ts fix(types): fix waitForSelector typing to not union null when appropriate (#6344) 2021-05-05 13:03:27 -07:00