title: Create String Literal Types dynamically
body: <p>I have defined the following type:</p>
  
  <pre class="lang-js prettyprint-override"><code>type UserConfigCategories = 'tables-config' | 'link-config' | 'general-config';
  </code></pre>
  
  <p>however this type can grow and I do not want to have to update it.
  Is it possible to create this type dynamically from an array, for example?</p>