title: How to enforce class to have only interface parameters
body: <p>enforce class A to have only interface parameter <em>name only</em></p>
  
  <pre><code>interface I {
  name: string;
  }
  
  Class A implements I{
  name: string;
  age: string; &lt;=  it should generate error 
  }
  </code></pre>