title: TypeScript and field initializers
body: <p>How to init a new class in TS in such a way (example in C# to show what I want):</p>
  <pre><code>// ... some code before
  return new MyClass { Field1 = &quot;ASD&quot;, Field2 = &quot;QWE&quot; };
  // ...  some code after
  </code></pre>