diff --git a/Chapter 02/todo/src/index.ts b/Chapter 02/todo/src/index.ts index 2fb9c28..bb72dff 100644 --- a/Chapter 02/todo/src/index.ts +++ b/Chapter 02/todo/src/index.ts @@ -7,7 +7,7 @@ let todos: TodoItem[] = [ new TodoItem(1, "Buy Flowers"), new TodoItem(2, "Get Shoes"), new TodoItem(3, "Collect Tickets"), new TodoItem(4, "Call Joe", true)]; -let collection: TodoCollection = new JsonTodoCollection("Adam", todos); +let collection: JsonTodoCollection = new JsonTodoCollection("Adam", todos); let showCompleted = true; function displayTodoList(): void {