adding demo for step 2-6

This commit is contained in:
Ken
2019-02-19 14:46:48 -08:00
parent abb8318252
commit 2b41788cc2
15 changed files with 285 additions and 0 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;
}