title: Property 'custom' does not exist on type 'EventEmitter<any>'
body: <p>I'm using ionic 3, and I have a <strong>part</strong> component and a <strong>parts</strong> page</p>
  
  <p><strong>Parts.html page:</strong></p>
  
  <pre><code>&lt;ion-row&gt; 
     &lt;part [part]="part"&gt;&lt;/part&gt;
  &lt;/ion-row&gt;
  </code></pre>
  
  <p>The <strong>part</strong> variable of parts.html is this json:</p>
  
  <p><a href="https://i.stack.imgur.com/LyWtw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LyWtw.png" alt="enter image description here"></a></p>
  
  <p><strong>Part.ts component:</strong></p>
  
  <pre><code>import { Component, ViewChild, Input, EventEmitter } from "@angular/core";
  
  export class PartComponent {
      @Input() part = new EventEmitter&lt;any&gt;();
  
      ngAfterViewInit(){
          this.setInitialValues();
      }
      ngOnChanges(){
          this.setInitialValues();
      }
  
      setInitialValues() {
        console.log(this.part);
        if (this.part) {
  
          if (this.part.hasOwnProperty('parts') &amp;&amp; this.part.parts.length != 0) {
            this.hasParts = true;
          }
          this.getPartQuestionnaire(this.part.id);
        }
      }
  </code></pre>
  
  <p><strong>I'm getting this errors when i'm building the ionic app:</strong></p>
  
  <p>Property 'parts' does not exist on type 'EventEmitter'.</p>
  
  <blockquote>
    <p>L81:        if (this.part.hasOwnProperty('parts') &amp;&amp;
    this.part.parts.length != 0) {</p>
    
    <p>L82:          this.hasParts = true;</p>
  </blockquote>
  
  <p>Property <strong>'id'</strong> does not exist on type 'EventEmitter'.</p>
  
  <blockquote>
    <p>L84:  this.getPartQuestionnaire(this.part.id);</p>
  </blockquote>
  
  <p>When I comment this lines of part.ts and show in console the variable part, I get the foow image representation, where the first 2 calls appear null, but after it load the part values:</p>
  
  <p><a href="https://i.stack.imgur.com/91XX6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/91XX6.png" alt="enter image description here"></a></p>
  
  <p>How can I solve this error when I try to build the app? </p>
  
  <p>I'm building with <code>ionic cordova run browser</code></p>