mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(test-advanced): mark globals.d.ts as module (#17186)
This commit is contained in:
parent
3dad8de53e
commit
7c6bbfe320
@ -685,6 +685,8 @@ You don't need it for JavaScript.
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
// global.d.ts
|
// global.d.ts
|
||||||
|
export {};
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
namespace PlaywrightTest {
|
namespace PlaywrightTest {
|
||||||
interface Matchers<R, T> {
|
interface Matchers<R, T> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user