Skip to content

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

docs: fix expect custom matcher global.d.ts (#12268)

Max Schmitt17a922cf5e8a
diff --git a/docs/src/test-advanced-js.md b/docs/src/test-advanced-js.md
index 1192712aa6..5322742901 100644
--- a/docs/src/test-advanced-js.md
+++ b/docs/src/test-advanced-js.md
@@ -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 {