What is Forbidden constructor, use a literal or simple function call instead error by gulp tslint?
<p>I am working on angular 2 application using ag-grid plugin and gulp as build tool -</p>

<pre><code>   #225 function onPageSizeChanged(pageSize) {
   #226     this.pageSize = new Number(pageSize);
        createNewDatasource();
    }
</code></pre>

<p>I am getting below error message for above code -</p>

<blockquote>
  <p>[gulp-tslint] error app/app.component.ts[226, 21]: Forbidden constructor, use a literal or simple function call instead</p>
</blockquote>

<p>Please let me know if this information is not sufficient, I will provide further details. 
Thanks in advance.</p>