質問編集履歴
1
タイトルの変更とソースコードのコメントの位置変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
react-reduxのconnect
|
1
|
+
reduxのtypescript対応。react-reduxのconnectの返り値の型を変更したい
|
test
CHANGED
@@ -46,6 +46,8 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
+
//reducers
|
50
|
+
|
49
51
|
interface State{
|
50
52
|
|
51
53
|
visibilityFilter: string
|
@@ -62,8 +64,6 @@
|
|
62
64
|
|
63
65
|
|
64
66
|
|
65
|
-
//reducers
|
66
|
-
|
67
67
|
function todoApp(state: State = initialState, action: SetVisibilytyAction){
|
68
68
|
|
69
69
|
switch(action.type){
|