playwright/utils/generate_types
Dmitry Gozman c1447eb8c1 fix(types): update types for test.extend
- Replace `KeyValue` with `{}` to avoid inferring `KeyValue` when not intended
  and turning all properties into `any`.
- Employ `as Exclude<K, keyof PW | keyof PT>` technique to make sure
  overridden fixtures inherit from the base test type, and are not looked up
  in the extended fixtures list where they are not present.

This should fix errors with TypeScript 5.8.
2024-11-28 09:17:00 +00:00
..
test chore: fix typos (#30645) 2024-05-08 19:40:03 +01:00
exported.json feat(types): export PageAssertionsToHaveScreenshotOptions type (#31319) 2024-06-14 09:39:21 -07:00
index.js fix: correct types for things like test.describe.only (#33142) 2024-10-17 03:34:05 -07:00
overrides-test.d.ts fix(types): update types for test.extend 2024-11-28 09:17:00 +00:00
overrides-testReporter.d.ts chore: move Location type from testReporter.d.ts to test.d.ts (#32687) 2024-09-18 16:57:11 +02:00
overrides.d.ts feat(routeWebSocket): address api review feedback (#32850) 2024-09-27 04:01:31 -07:00
parseOverrides.js fix: correct types for things like test.describe.only (#33142) 2024-10-17 03:34:05 -07:00