Skip to content

Commit e55907a

Browse files
committed
fix(browser): remove unused requireRef import and void workaround (#83878)
The void requireRef expression in register.navigation.ts silences the unused-import lint but does not create a real dependency. The import and its comment are dead code — shared.ts surface documentation belongs in shared.ts or a barrel export, not as a phantom import in an unrelated file. Closes #83878
1 parent 47fc1c2 commit e55907a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

extensions/browser/src/cli/browser-cli-actions-input/register.navigation.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
type BrowserParentOpts,
1313
} from "../browser-cli-shared.js";
1414
import { danger, defaultRuntime } from "../core-api.js";
15-
import { requireRef, resolveBrowserActionContext } from "./shared.js";
15+
import { resolveBrowserActionContext } from "./shared.js";
1616

1717
/** Registers Browser navigate and resize commands. */
1818
export function registerBrowserNavigationCommands(
@@ -94,7 +94,4 @@ export function registerBrowserNavigationCommands(
9494
defaultRuntime.exit(1);
9595
}
9696
});
97-
98-
// Keep `requireRef` reachable; shared utilities are intended for other modules too.
99-
void requireRef;
10097
}

0 commit comments

Comments
 (0)