title: Defining prototype property in TypeScript
body: <p>I have a class, let's say <code>A</code>. I need to declare there a prototype property that can be accessible as follows:</p>
  
  <pre><code>var idKey = A.prototype.attributeId;
  </code></pre>
  
  <p>I can do it using the following code:</p>
  
  <pre><code>class A {
    constructor() {
        A.prototype.attributeId = "InternalId";
    }
  }
  </code></pre>
  
  <p>Is there a better way of doing it?</p>