title: What would be a type of an event in Angular 2?
body: <p>I'm trying to specify the types of all my methods/parameters so instead of:</p>
  
  <pre><code>someCoolFunction(param) { ... }
  </code></pre>
  
  <p>I try to use the type safe'ish version like this:</p>
  
  <pre><code>someCoolFunction(param: number): void { ... }
  </code></pre>
  
  <p>When I bounce around types that I've declared myself, it's easy. When it comes to types brought from other packages, I also often know what they are as I explicitly specify my imports.</p>
  
  <p>However, I'm not sure what type to give to the event, to the object and to the output in the method below.</p>
  
  <pre><code>someBoundFunction(event, junk) {
    ...
    return {a: 1, b: 2};
  }
  </code></pre>
  
  <p>I've seen <code>any</code> being used but I'm not sure if it's applicable in this case. Also, I'm sensing that it's just incorrect for the event call. (If it matters, the call binding to the function can look as below.)</p>
  
  <pre><code>&lt;custom-thing (output)="someBoundFunction($event, {x:"x",y:"y"})"&gt;!&lt;/custom-thing&gt;
  </code></pre>