aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/VersionController.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-05-01 11:04:24 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-05-02 22:07:53 +0900
commit678020a3a27713e77ec8d74483122b4258fbc829 (patch)
tree6c84d0965f05918e6fd58a0a155c15035474d563 /src/background/controllers/VersionController.ts
parent0cffb09e249832291be73be039dc1b9bb38115f9 (diff)
Types on src/background
Diffstat (limited to 'src/background/controllers/VersionController.ts')
-rw-r--r--src/background/controllers/VersionController.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/background/controllers/VersionController.ts b/src/background/controllers/VersionController.ts
index c596f9b..f402ed0 100644
--- a/src/background/controllers/VersionController.ts
+++ b/src/background/controllers/VersionController.ts
@@ -1,11 +1,13 @@
import VersionUseCase from '../usecases/VersionUseCase';
export default class VersionController {
+ private versionUseCase: VersionUseCase;
+
constructor() {
this.versionUseCase = new VersionUseCase();
}
- notify() {
- this.versionUseCase.notify();
+ notify(): void {
+ return this.versionUseCase.notify();
}
}