title: Separate `index.d.ts` per Cypress entry, instead of one huge `index.d.ts`
body: <p>We have the following standard Cypress &amp; Typescript setup:</p>
  <pre><code>cypress/
    integration/
      foo/
        my-foo.spec.ts
      bar/
        my-bar.spec.ts
      baz/
        my-baz.spec.ts
      ...
    ...
    support/
      index.d.ts
      ...
  </code></pre>
  <p>We have many integration folders, and we are declaring each <code>Cypress.Command</code> in the <code>index.d.ts</code> in the support folder. The problem with this is that file is getting very large, and serves all integration entries at once.</p>
  <p>Example of <code>index.d.ts</code>:</p>
  <pre><code>declare global {
    namespace Cypress {
      interface Chainable&lt;Subject = any&gt; {
        foo_doTheThing(): Chainable&lt;any&gt;;
        foo_doTheOtherThing(): Chainable&lt;any&gt;;
        bar_myFunc(): Chainable&lt;any&gt;;
        bar_helloWorld(): Chainable&lt;any&gt;;
        bar_clickTheThing(): Chainable&lt;any&gt;;
        baz_func(): Chainable&lt;any&gt;;
      }
    }
  }
  </code></pre>
  <p>What I would like to do is have each integration entry use just one <code>index.d.ts</code>, so that each one relates to its own entry.</p>
  <p>How is this possible with Typescript?</p>