playwright/utils/generate_types
Mateusz Burzyński 82aefd24db
types: allow readonly tuples to be used as ReporterDescription (#30387)
This makes it easier to create helper functions like:
```ts
function createReporter(options: MyOptions) {
  return ['my-reporter', options] as const
}
```

At the moment, such functions can't be passed to `reporters` because a
readonly array is not assignable to the expected mutable array.
Playwirght certainly doesn't require those arrays to be mutable so it
would make sense to relax this.
2024-04-16 17:39:11 -07:00
..
test fix(types): evaluate should not unpack return unions (#29971) 2024-03-18 16:42:33 +01:00
exported.json feat(test-runner): implement expect(pageOrLocator).toHaveScreenshot (#12242) 2022-02-28 12:25:59 -08:00
index.js chore: class link generation in release notes (#30324) 2024-04-10 10:05:54 -07:00
overrides-test.d.ts types: allow readonly tuples to be used as ReporterDescription (#30387) 2024-04-16 17:39:11 -07:00
overrides-testReporter.d.ts chore: remove overrides for type and status (#30211) 2024-04-02 17:42:13 -07:00
overrides.d.ts fix: Locator.evaluateHandle types (#26469) 2023-08-14 18:27:25 +02:00
parseOverrides.js chore: generate more types (#13358) 2022-04-06 13:36:20 -07:00