From de1fda29472390c499ab5fddbc54a1c0b25a52d0 Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Sun, 14 Apr 2019 18:45:16 +0900
Subject: [PATCH] refs #850 Replace Lists with typescript
---
.../store/TimelineSpace/Contents/Lists.js | 12 -----------
.../store/TimelineSpace/Contents/Lists.ts | 21 +++++++++++++++++++
2 files changed, 21 insertions(+), 12 deletions(-)
delete mode 100644 src/renderer/store/TimelineSpace/Contents/Lists.js
create mode 100644 src/renderer/store/TimelineSpace/Contents/Lists.ts
diff --git a/src/renderer/store/TimelineSpace/Contents/Lists.js b/src/renderer/store/TimelineSpace/Contents/Lists.js
deleted file mode 100644
index 7e049ac6..00000000
--- a/src/renderer/store/TimelineSpace/Contents/Lists.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import Index from './Lists/Index'
-import Show from './Lists/Show'
-import Edit from './Lists/Edit'
-
-export default {
- namespaced: true,
- modules: {
- Index,
- Show,
- Edit
- }
-}
diff --git a/src/renderer/store/TimelineSpace/Contents/Lists.ts b/src/renderer/store/TimelineSpace/Contents/Lists.ts
new file mode 100644
index 00000000..dfc43c96
--- /dev/null
+++ b/src/renderer/store/TimelineSpace/Contents/Lists.ts
@@ -0,0 +1,21 @@
+import Index from './Lists/Index'
+import Show from './Lists/Show'
+import Edit from './Lists/Edit'
+import { Module } from 'vuex'
+import { RootState } from '@/store'
+
+export interface ListsState {}
+
+export interface ListsModuleState extends ListsState {}
+
+const state = (): ListsState => ({})
+
+export default {
+ namespaced: true,
+ state: state,
+ modules: {
+ Index,
+ Show,
+ Edit
+ }
+} as Module