title: Separate each member of a union type
body: <p>I have a <strong>generated</strong> union type that looks something like:</p>
  <pre><code>type Result = { type: 'car' } | { type: 'boat' }
  </code></pre>
  <p>How can I separate them so that I can create an individual type for each of these? eg:</p>
  <pre><code>type BoatResult = { type: 'boat' }
  type CarResult = { type: 'card' }
  </code></pre>
  <p>Where they have to be created from the original <code>Result</code> type.</p>