title: Generate Mongoose schemas from TypeScript interfaces?
body: <p>I've been defining TypeScript interfaces for all of the types and data structures in my app, and will shortly face the task of replicating most of the data structures as Mongoose schema definitions.</p>
  
  <p>I was wondering if not someone has cooked up a solution to auto-generate one from the other? </p>
  
  <p>I'd like to avoid the burden of maintaining two copies of what is essentially the same thing.</p>