title: Stuck with adding variable to Discord Client object Typescript
body: <p>Im new to Typescript and writing a Discord bot using Typescript. I want to add a variable &quot;commands&quot; to the Client object. For example in Javascript, you using this:</p>
  <p><strong>Javascript</strong></p>
  <pre class="lang-js prettyprint-override"><code>const { Client } = require('discord.js');
  const client = new Client();
  client.commands = 'commands';
  console.log(client.commands);
  // 'commands'
  </code></pre>
  <p>but now I want to add something similar to Typescript. But when Im using this in Typescript, I got the following error:</p>
  <pre><code>Property 'commands' does not exist on type 'Client'.ts(2339)
  </code></pre>
  <p>How can I solve this?</p>
  <p>My code at the moment:</p>
  <pre class="lang-js prettyprint-override"><code>export class HalloClient {
  
      private client: Client; 
  
      constructor() {
          this.client = new Client();
  
          this.client.commands = new Collection();
      }
  
      public start(): void {
          console.log(`- Client | Starting process...`);
  
          new RegisterEvents('../events/', this.client).load();
          new MongoConnection(process.env.mongouri).createConnection(); 
  
          console.log(this.client);
  
          this.client.login(process.env.token);
      }
  
  }
  </code></pre>