aboutsummaryrefslogtreecommitdiff
path: root/src/content/repositories/FindRepository.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/repositories/FindRepository.ts')
-rw-r--r--src/content/repositories/FindRepository.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/content/repositories/FindRepository.ts b/src/content/repositories/FindRepository.ts
deleted file mode 100644
index aeb200f..0000000
--- a/src/content/repositories/FindRepository.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-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;
- }
-}