playwright/utils/generate_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
..
test fix(types): fix waitForSelector typing to not union null when appropriate (#6344) 2021-05-05 13:03:27 -07:00
exported.json feat(cdp): replace wsEndpoint with protocol neutral endpointURL (#6141) 2021-04-08 14:55:28 -07:00
index.js feat(waitForEvent): allow async predicate (#6201) 2021-04-19 10:32:51 -07:00
overrides.d.ts fix(types): fix waitForSelector typing to not union null when appropriate (#6344) 2021-05-05 13:03:27 -07:00
parseOverrides.js types: better types (#1166) 2020-03-20 01:30:35 -07:00