title: TypeScript - Not able to create object of a class using new operator
body: <p>Object creation is happening without error:</p>
  
  <pre><code>let paginationParams: Common.Models.PaginationModel = {
      PageNumber: this.pageNumber,
      PageSize: this.pageSize,
      SearchText: this.denominationFilter,
      Ascending: true
  };
  </code></pre>
  
  <p>But when trying to create that object like this:</p>
  
  <pre><code>let pagParams = new Common.Models.PaginationModel(
      this.pageNumber,
      this.pageSize,
      true,
      this.denominationFilter);
  </code></pre>
  
  <p>Getting error:</p>
  
  <p><a href="https://i.stack.imgur.com/YszeY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YszeY.png" alt="enter image description here"></a></p>