title: C# Dictionary in TypeScript?
body: <p>How should I implement TypeScript interface to define this C# models:</p>
  
  <pre><code>public class PageModel
  {
      public long Id { get; set; }
      public string Name { get; set; }
      public IDictionary&lt;string, FieldModel&gt; Fields { get; set; }
  }
  
  public class FieldModel
  {
      public long Id { get; set; }
      public string Name { get; set; }
      public string Type { get; set; }
      public string DataType { get; set; }
      public string DefaultValue { get; set; }
  }
  </code></pre>