aboutsummaryrefslogtreecommitdiff
path: root/src/content/usecases
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-05-11 13:55:25 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-05-11 15:41:07 +0900
commitfcd15f4f09e412cb66f29649572b9d8ae6d50363 (patch)
treebb602d6dc3cfd15dcfca860751c95309aa69a53d /src/content/usecases
parentad1f3c07fbb90c4e69cc2374d74a7373e4da70f2 (diff)
Find as a controller
Diffstat (limited to 'src/content/usecases')
-rw-r--r--src/content/usecases/FindUseCase.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/usecases/FindUseCase.ts b/src/content/usecases/FindUseCase.ts
index 4fda323..74cbc97 100644
--- a/src/content/usecases/FindUseCase.ts
+++ b/src/content/usecases/FindUseCase.ts
@@ -25,7 +25,7 @@ export default class FindUseCase {
this.consoleClient = consoleClient;
}
- async startFind(keyword: string | null): Promise<void> {
+ async startFind(keyword?: string): Promise<void> {
this.presenter.clearSelection();
if (keyword) {
this.saveKeyword(keyword);