This repository has been archived on 2020-04-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Vim-Vixen/src/background/controllers/FindController.ts
2019-05-19 21:34:08 +09:00

18 lines
389 B
TypeScript

import { injectable } from 'tsyringe';
import FindUseCase from '../usecases/FindUseCase';
@injectable()
export default class FindController {
constructor(
private findUseCase: FindUseCase,
) {
}
getKeyword(): Promise<string> {
return this.findUseCase.getKeyword();
}
setKeyword(keyword: string): Promise<any> {
return this.findUseCase.setKeyword(keyword);
}
}