diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-12-02 22:40:10 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-12-09 23:09:34 +0900 |
commit | ca804b1b335df0e7a316d12ed9246beec55ff7f2 (patch) | |
tree | 6265d1d0b4e7637a10ae9e68e0f2949d11fcd0e4 /src/background/usecases/NavigateUseCase.ts | |
parent | ddf912804fc4cb26d388283eacca63a0aeddf779 (diff) |
Make background operator as an operator
Diffstat (limited to 'src/background/usecases/NavigateUseCase.ts')
-rw-r--r-- | src/background/usecases/NavigateUseCase.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/background/usecases/NavigateUseCase.ts b/src/background/usecases/NavigateUseCase.ts index 974606c..29e629a 100644 --- a/src/background/usecases/NavigateUseCase.ts +++ b/src/background/usecases/NavigateUseCase.ts @@ -5,8 +5,10 @@ import TabPresenter from "../presenters/TabPresenter"; @injectable() export default class NavigateUseCase { constructor( - @inject("TabPresenter") private tabPresenter: TabPresenter, - private navigateClient: NavigateClient + @inject("TabPresenter") + private readonly tabPresenter: TabPresenter, + @inject("NavigateClient") + private readonly navigateClient: NavigateClient ) {} async openHistoryNext(): Promise<void> { |