diff --git a/modules/examples/src/todo/index.ts b/modules/examples/src/todo/index.ts index 5d7a3874f8..d88a362d22 100644 --- a/modules/examples/src/todo/index.ts +++ b/modules/examples/src/todo/index.ts @@ -10,7 +10,7 @@ class TodoApp { constructor(public todoStore: Store, public factory: TodoFactory) {} - enterTodo($event, inputElement): void { + enterTodo(inputElement): void { this.addTodo(inputElement.value); inputElement.value = ''; } diff --git a/modules/examples/src/todo/todo.html b/modules/examples/src/todo/todo.html index 2637145850..8ef455373e 100644 --- a/modules/examples/src/todo/todo.html +++ b/modules/examples/src/todo/todo.html @@ -9,7 +9,7 @@ placeholder="What needs to be done?" autofocus #newtodo - (keyup.enter)="enterTodo($event, newtodo)"> + (keyup.enter)="enterTodo(newtodo)">