docs: fix broken docs by wrong snippet lang (#12306)
This commit is contained in:
parent
290410e44f
commit
5be9f68446
|
|
@ -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.
|
||||||
|
|
||||||
```js js-flavor=ts
|
```js
|
||||||
// global.d.ts
|
// global.d.ts
|
||||||
declare global {
|
declare global {
|
||||||
namespace PlaywrightTest {
|
namespace PlaywrightTest {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue