Skip to content

Commit 1b639a7

Browse files
committed
Fix ESLint violations
1 parent ce2065f commit 1b639a7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/test-runner-chrome/src/ChromeLauncherPage.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { v8ToIstanbul } from '@web/test-runner-coverage-v8';
44
import { SessionResult } from '@web/test-runner-core';
55

66
declare global {
7-
interface Window { __bringTabToFront: Function; }
7+
interface Window {
8+
__bringTabToFront: () => void;
9+
}
810
}
911

1012
export class ChromeLauncherPage {
@@ -50,6 +52,7 @@ export class ChromeLauncherPage {
5052
this.puppeteerPage.bringToFront(),
5153
);
5254
await this.puppeteerPage.evaluateOnNewDocument(() => {
55+
// eslint-disable-next-line @typescript-eslint/ban-types
5356
function patchFunction(name: string, fn: Function) {
5457
(window as any)[name] = (...args: unknown[]) => {
5558
fn.call(window, ...args);

0 commit comments

Comments
 (0)