step 8 exercise GO!

This commit is contained in:
Ken
2019-02-20 10:32:28 -08:00
parent 164db9dd93
commit 716644aec7
27 changed files with 423 additions and 197 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;
}