Skip to content

Commit c41316a

Browse files
fix: Mute irrelevant typescript complains (#48)
1 parent fbe4e46 commit c41316a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils.ts

+2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ export async function getProxyDriver(
2525
if (['key', 'semantics label', 'text', 'type'].includes(strategy)) {
2626
return this.proxy;
2727
} else if (this.proxydriver instanceof AndroidUiautomator2Driver) {
28+
// @ts-ignore Proxy instance is OK
2829
return this.proxydriver.uiautomator2.jwproxy;
2930
} else {
31+
// @ts-ignore Proxy instance is OK
3032
return this.proxydriver.wda.jwproxy;
3133
}
3234
}

0 commit comments

Comments
 (0)