Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(test-advanced): mark globals.d.ts as module (#17186)

Max Schmitt7c6bbfe320e1
diff --git a/docs/src/test-advanced-js.md b/docs/src/test-advanced-js.md
index e88ebc0de4..c611a1edcb 100644
--- a/docs/src/test-advanced-js.md
+++ b/docs/src/test-advanced-js.md
@@ -685,6 +685,8 @@ You don't need it for JavaScript.
```js
// global.d.ts
+export {};
+
declare global {
namespace PlaywrightTest {
interface Matchers<R, T> {