This commit is contained in:
Rodger Jordas
2019-02-26 13:54:57 +08:00
parent 5044bd5f9d
commit 0907fb7e75

View File

@@ -129,7 +129,7 @@ interface TodoListProps {
### Updating TodoApp
Our `TodoApp` doesn't take any props, but it does have state. We can use TypeSscript to define that as well.
Our `TodoApp` doesn't take any props, but it does have state. We can use TypeScript to define that as well.
I've already imported `Todos`, and `FilterTypes` into the `TodoApp`, so we just need to add them to our class. We can even skip the 'interface', if we want to, and add them directly to the class.