Rename .js/.jsx to .ts/.tsx
This commit is contained in:
parent
257162e5b6
commit
c60d0e7392
151 changed files with 0 additions and 0 deletions
|
@ -1,19 +0,0 @@
|
|||
import MemoryStorage from '../infrastructures/MemoryStorage';
|
||||
|
||||
const FIND_KEYWORD_KEY = 'find-keyword';
|
||||
|
||||
export default class FindRepository {
|
||||
constructor() {
|
||||
this.cache = new MemoryStorage();
|
||||
}
|
||||
|
||||
getKeyword() {
|
||||
return Promise.resolve(this.cache.get(FIND_KEYWORD_KEY));
|
||||
}
|
||||
|
||||
setKeyword(keyword) {
|
||||
this.cache.set(FIND_KEYWORD_KEY, keyword);
|
||||
return Promise.resolve();
|
||||
}
|
||||
}
|
||||
|
Reference in a new issue