adding step 2.4 and 2.5 exercises

This commit is contained in:
Ken
2019-03-02 22:56:59 -08:00
parent f459ad5823
commit 8446b010c9
13 changed files with 440 additions and 15 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;
}