mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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.
|
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
|
// global.d.ts
|
||||||
declare global {
|
declare global {
|
||||||
namespace PlaywrightTest {
|
namespace PlaywrightTest {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user