Skip to content

Commit 0a575a3

Browse files
author
Michael Lehenbauer
committed
Fix lint.
1 parent 285ed8c commit 0a575a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/util/src/environment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export function isBrowser(): boolean {
7575
/**
7676
* Detect browser extensions (Chrome and Firefox at least).
7777
*/
78-
declare var chrome: any;
79-
declare var browser: any;
78+
declare const chrome: { runtime?: unknown };
79+
declare const browser: { runtime?: unknown };
8080
export function isBrowserExtension(): boolean {
8181
return (
8282
(typeof chrome === 'object' && chrome.runtime !== undefined) ||

0 commit comments

Comments
 (0)