title: Is it possible to reference class property type?
body: <p>I have a class:</p>
  
  <pre><code>class Todo {
      public id: number;
  }
  </code></pre>
  
  <p>Is it possible to use class property as type reference (get number type), like:</p>
  
  <pre><code>interface Settings {
      selectedTodoId: Todo.id;
  }
  </code></pre>
  
  <p>property <code>selectedTodoId</code> should be now checked for <code>number</code> type</p>