exercise 2.3 with themes and styles

This commit is contained in:
Ken
2019-02-18 20:42:37 -08:00
parent baf9dfd5ca
commit c5cb0abff8
17 changed files with 388 additions and 6 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;
}