title: How to console.log typescript type
body: <p>I know that typescript type is not runtime variable. But is there any workaround how to print type name and variables?</p>
  <pre><code>type TestDto = {
      active: number;  
      user_name: string;
  };
  </code></pre>
  <pre><code>console.log(TestDto);
  </code></pre>
  <p>throw <code> only refers to a type, but is being used as a value here.</code></p>
  <p>I would like to create object property based on TS type. I would like to create JS object with property active and <code>user_name</code> with some default values</p>