blob: aeb200fe0d39725993190b7137083e1dc89d026b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
export default interface FindRepository {
getLastKeyword(): string | null;
setLastKeyword(keyword: string): void;
}
let current: string | null = null;
export class FindRepositoryImpl implements FindRepository {
getLastKeyword(): string | null {
return current;
}
setLastKeyword(keyword: string): void {
current = keyword;
}
}
|