# Displaying data and handling events/Template variables

**URL:** <https://forum.codewithmosh.com/t/displaying-data-and-handling-events-template-variables/10162>\
**Category:** Angular\
**Created:** [January 23, 2022, 3:25pm UTC](https://forum.codewithmosh.com/t/displaying-data-and-handling-events-template-variables/10162 "2022-01-23T15:25:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ranjan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/ranjan/32/1633_2.png) [@Ranjan](https://forum.codewithmosh.com/u/Ranjan)\
**Post date:** [January 23, 2022, 3:25pm UTC](https://forum.codewithmosh.com/t/displaying-data-and-handling-events-template-variables/10162/1 "2022-01-23T15:25:43Z")

</div>

![IMG_20220123_205411](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/b/b94bc422c662edf8bb824245261e6b39418f8958.jpeg)  
Parameter email implicitly has an any type

---

<div class="post-metadata">

**Author:** ![ChrisUribe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/chrisuribe/32/62_2.png) [@ChrisUribe](https://forum.codewithmosh.com/u/ChrisUribe)\
**Post date:** [January 24, 2022, 12:12am UTC](https://forum.codewithmosh.com/t/displaying-data-and-handling-events-template-variables/10162/2 "2022-01-24T00:12:28Z")

</div>

Hi @Ranjan,

First, lets take a closer look at the ERROR: Parameter ‘email’ implicitly has an ‘any’ type. What does this mean? It’s important to know what the word “implicitly” means. “Implicitly” means implies or “gives a clue or hint to…”. So, the error is telling you to clearly state (not just imply) what kind of parameter the function (onKeyUp) expects.

This fix is to change line 13-15 to this:

```auto
onKeyUp(email: any) {
console.log(email);
}
```
