title: How to define an array of structs return type in ethers.js ABI
body: <p>Currently I got this abi:</p>
  <pre class="lang-js prettyprint-override"><code>const stakingAbi = [
      'function getStakes(address user) external view returns (Stake[] memory)',
      'function stake7Days(uint128 _amount) external whenNotPaused',
      'function stake14Days(uint128 _amount) external whenNotPaused',
      'function stake30Days(uint128 _amount) external whenNotPaused',
      'function stake90Days(uint128 _amount) external whenNotPaused'
  ]
  </code></pre>
  <p>The <code>Stake</code> struct looks like this:</p>
  <pre><code>struct Stake {
      uint16 bonusPercentage;
      uint40 unlockTimestamp;
      uint128 amount;
      bool withdrawn;
  }
  </code></pre>
  <p>Currently the getStakes function doesn't work because Ethers doesn't know what <code>Stake[]</code> is, how do I define this in the ABI?</p>