Error durign compilation Affiliate - magento 2.4

Error durign compilation Affiliate - magento 2.4

during compilation:
Amasty\Affiliate\Model\ResourceModel\Account\Coupon\Grid\Collection

Incompatible argument type: Required type: \Magento\Framework\DB\Adapter\AdapterInterface. Actual type: \Magento\Framework\Model\ResourceModel\Db\AbstractDb;

File:
app/code/Amasty/Affiliate/Model/ResourceModel/Account/Coupon/Grid/Collection.php

Magento version 2.4.3