docs(reporters): fix TS example (#8531)

Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Ross Wollman 2021-08-28 13:53:27 -07:00 committed by GitHub
parent 37a897c9b4
commit d3a8c38b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ module.exports = MyReporter;
```
```js js-flavor=ts
// playwright.config.ts
// my-awesome-reporter.ts
import { Reporter } from '@playwright/test/reporter';
class MyReporter implements Reporter {

View File

@ -307,7 +307,7 @@ export interface FullResult {
* ```
*
* ```js js-flavor=ts
* // playwright.config.ts
* // my-awesome-reporter.ts
* import { Reporter } from '@playwright/test/reporter';
*
* class MyReporter implements Reporter {