docs(pom): fixed JS example which contained TS (#6917)

This commit is contained in:
Max Schmitt 2021-06-07 13:41:56 -07:00 committed by GitHub
parent 52878bb19d
commit 334096ed20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ We will create a `PlaywrightDevPage` helper class to encapsulate common operatio
```js js-flavor=js
// playwright-dev-page.js
exports.PlaywrightDevPage = class PlaywrightDevPage {
constructor(page: Page) {
constructor(page) {
this.page = page;
}