adding types to 7

This commit is contained in:
Micah Godbolt
2019-02-14 15:02:36 -08:00
parent 9441bc5f37
commit c1cac333d8
6 changed files with 45 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ import { FilterTypes } from '../store';
interface TodoHeaderProps {
addTodo: (label: string) => void;
setFilter: (filter: FilterTypes) => void;
filter: string;
filter: FilterTypes;
}
interface TodoHeaderState {