title: Angular 2 cannot access classes functions
body: <p>I have the Known class where theres a function called checkRev, but when I try to use it on onNgInit it says "this.known.checkRev is not a function"</p>
  
  <p>My class:</p>
  
  <pre><code>export class Known {
     constructor(args...){}
     public checkRev(){
      code...
     }
  }
  </code></pre>
  
  <p>My component</p>
  
  <pre><code>export class KnownItem implements OnInit {
  @Input('userInfo') known: Known;
  ngOnInit(){
     this.known.checkRev();
  }
  </code></pre>
  
  <p>@edit 
  I'm passing the known object by input</p>
  
  <pre><code>&lt;sh-known-item *ngFor="let known of knowns" [userInfo]="known"&gt;&lt;/sh-known-item&gt;
  </code></pre>
  
  <p>array of knowns</p>
  
  <pre><code>private knowns: Array&lt;Known&gt; = [];
  </code></pre>
  
  <p>pushing into the array</p>
  
  <pre><code>this.knowns.push(new Known(args..));
  </code></pre>
  
  <p>@EDIT 2
  I have code inside of checkRev() its just too long to put it here</p>