aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases/CommandUseCase.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/usecases/CommandUseCase.ts')
-rw-r--r--src/background/usecases/CommandUseCase.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/background/usecases/CommandUseCase.ts b/src/background/usecases/CommandUseCase.ts
index 69ef3ea..cadcad1 100644
--- a/src/background/usecases/CommandUseCase.ts
+++ b/src/background/usecases/CommandUseCase.ts
@@ -16,6 +16,7 @@ export default class CommandIndicator {
constructor(
@inject("TabPresenter")
private readonly tabPresenter: TabPresenter,
+ @inject("WindowPresenter")
private readonly windowPresenter: WindowPresenter,
private readonly helpPresenter: HelpPresenter,
@inject("CachedSettingRepository")
@@ -46,7 +47,7 @@ export default class CommandIndicator {
return this.tabPresenter.create(url);
}
- async winopen(keywords: string): Promise<browser.windows.Window> {
+ async winopen(keywords: string): Promise<void> {
const url = await this.urlOrSearch(keywords);
this.repeatUseCase.storeLastOperation({
type: operations.INTERNAL_OPEN_URL,