title: Destructuring assignment in Typescript
body: <p>The is code works fine by destructuring the object and assigning the variables,</p>
  <pre><code>const { allowNegative, decimal, precision, prefix, suffix, thousands } = this.options;
  </code></pre>
  <p>But when i try with <code>this</code> operator like below it throws an error:</p>
  <pre><code>{ this.tabConfig, this.searchUiConfig, this.gridUiConfig } = CONFIG;
  </code></pre>
  <p>where <strong>CONFIG</strong> being a JSON. Error being <em><strong>[ts] Declaration or statement expected</strong></em> on the assignment operator(=).</p>
  <p>Is there a better way of doing than this:</p>
  <pre><code> this.tabConfig = CONFIG.tabConfig;
   this.searchUiConfig = CONFIG.searchUiConfig;
   this.gridUiConfig = CONFIG.gridUiConfig;
  </code></pre>