This repository was archived by the owner on Aug 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ function requireOrUndefined(path: string): any {
1515}
1616
1717try {
18- Page = require ( 'playwright/lib/page.js' ) // tslint:disable-line
18+ Page = require ( 'playwright/lib/page.js' )
1919 if ( Page . Page ) Page = Page . Page
2020
21- ElementHandle = requireOrUndefined ( 'playwright/lib/api.js' ) // tslint:disable-line variable-name
21+ ElementHandle = requireOrUndefined ( 'playwright/lib/api.js' )
2222 if ( ElementHandle && ElementHandle . ElementHandle ) ElementHandle = ElementHandle . ElementHandle
2323
2424 Page . prototype . getDocument = getDocument
3535 throw err
3636}
3737
38- /* tslint:disable */
3938declare module 'playwright/types/types' {
4039 interface Page {
4140 getDocument ( ) : Promise < ElementHandle >
Original file line number Diff line number Diff line change @@ -13,12 +13,10 @@ type Element = ElementHandle
1313type MatcherOptions = Omit < MatcherOptions_ , 'normalizer' >
1414type SelectorMatcherOptions = Omit < SelectorMatcherOptions_ , 'normalizer' >
1515
16- // tslint:disable-next-line
1716interface RoleMatcherOptions extends MatcherOptions {
1817 name ?: string | RegExp
1918}
2019
21- // tslint:disable-next-line
2220interface SelectorRoleMatcherOptions extends SelectorMatcherOptions {
2321 name ?: string | RegExp
2422}
You can’t perform that action at this time.
0 commit comments