adding exercise for step 5

This commit is contained in:
Ken
2019-02-19 14:14:34 -08:00
parent a64d048706
commit be83489acc
23 changed files with 233 additions and 98 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;
}