adding some redux steps

This commit is contained in:
Ken Chau
2019-02-16 17:00:47 -08:00
parent e143a0e820
commit 7fc326b0cb
22 changed files with 2096 additions and 2173 deletions

View File

@@ -0,0 +1,14 @@
export type FilterTypes = 'all' | 'active' | 'completed';
export interface TodoItem {
label: string;
completed: boolean;
}
export interface Store {
todos: {
[id: string]: TodoItem;
};
filter: FilterTypes;
}