xcopy to step 2.2

This commit is contained in:
Ken
2019-02-14 14:21:54 -08:00
parent d0d6a788e2
commit 4bde8eb063
11 changed files with 323 additions and 1 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;
}