title: error TS1248: A class member cannot have the 'const' keyword.[];
body: <p>I am working on angular 2 MEAN application development. I am facing below issue </p>
  
  <blockquote>
    <p>error TS1248: A class member cannot have the 'const' keyword.[];</p>
  </blockquote>
  
  <p>I have declared below const array. I want to use this array to any function where I need.</p>
  
  <pre><code>const ballmasterObj: Array&lt;any&gt; = [];
  </code></pre>
  
  <p>I have a function which updates this array for ex. code below.</p>
  
  <pre><code>var obj= {};
        obj.ovrnum= "2";
        obj['balls']=[];
        var ballObj = {};
        ballObj['balllN'] = "4";
        ballObj['key'] = "3380dkasfka";
        obj['balls'].push(ballObj);
  
  this.ballmasterObj.push(obj);
  </code></pre>
  
  <p>This individual obj is in a loop to push individual objects to master obj which is array.</p>
  
  <p>I can understand from error that I cannot have a const keyword in class. I am new to typescript and angular 2 as well. </p>
  
  <p>I have looked up for the issue on google search but did not come to any conclusion.</p>