title: Typescript dynamically create interface
body: <p>I use simple-schema to define DB schemas in an object:</p>
  
  <pre><code>{
     name: 'string',
     age: 'integer',
     ...
  }
  </code></pre>
  
  <p>Is it somehow possible to create an interface or class from this object, so I don't have to type everything twice?</p>