File tree 2 files changed +2
-5
lines changed
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 {
15
15
}
16
16
17
17
try {
18
- Page = require ( 'playwright/lib/page.js' ) // tslint:disable-line
18
+ Page = require ( 'playwright/lib/page.js' )
19
19
if ( Page . Page ) Page = Page . Page
20
20
21
- ElementHandle = requireOrUndefined ( 'playwright/lib/api.js' ) // tslint:disable-line variable-name
21
+ ElementHandle = requireOrUndefined ( 'playwright/lib/api.js' )
22
22
if ( ElementHandle && ElementHandle . ElementHandle ) ElementHandle = ElementHandle . ElementHandle
23
23
24
24
Page . prototype . getDocument = getDocument
35
35
throw err
36
36
}
37
37
38
- /* tslint:disable */
39
38
declare module 'playwright/types/types' {
40
39
interface Page {
41
40
getDocument ( ) : Promise < ElementHandle >
Original file line number Diff line number Diff line change @@ -13,12 +13,10 @@ type Element = ElementHandle
13
13
type MatcherOptions = Omit < MatcherOptions_ , 'normalizer' >
14
14
type SelectorMatcherOptions = Omit < SelectorMatcherOptions_ , 'normalizer' >
15
15
16
- // tslint:disable-next-line
17
16
interface RoleMatcherOptions extends MatcherOptions {
18
17
name ?: string | RegExp
19
18
}
20
19
21
- // tslint:disable-next-line
22
20
interface SelectorRoleMatcherOptions extends SelectorMatcherOptions {
23
21
name ?: string | RegExp
24
22
}
You can’t perform that action at this time.
0 commit comments