Rename .js/.jsx to .ts/.tsx

This commit is contained in:
Shin'ya Ueoka 2019-04-30 14:00:07 +09:00
parent 257162e5b6
commit c60d0e7392
151 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,24 @@
import FindRepository from '../repositories/FindRepository';
import TabPresenter from '../presenters/TabPresenter';
import ConsoleClient from '../infrastructures/ConsoleClient';
export default class FindUseCase {
constructor() {
this.tabPresenter = new TabPresenter();
this.findRepository = new FindRepository();
this.consoleClient = new ConsoleClient();
}
getKeyword() {
return this.findRepository.getKeyword();
}
setKeyword(keyword) {
return this.findRepository.setKeyword(keyword);
}
async findStart() {
let tab = await this.tabPresenter.getCurrent();
return this.consoleClient.showFind(tab.id);
}
}