docs: fix expect custom matcher global.d.ts (#12268)
This commit is contained in:
parent
cbe075135c
commit
17a922cf5e
|
|
@ -561,7 +561,7 @@ test('numeric ranges', () => {
|
|||
|
||||
For TypeScript, also add the following to `global.d.ts`. You don't need it for JavaScript.
|
||||
|
||||
```ts
|
||||
```js js-flavor=ts
|
||||
// global.d.ts
|
||||
declare global {
|
||||
namespace PlaywrightTest {
|
||||
|
|
|
|||
Loading…
Reference in a new issue