diff --git a/packages/asset-buyer/src/quote_consumers/swap_quote_consumer.ts b/packages/asset-buyer/src/quote_consumers/swap_quote_consumer.ts index 6a09564045..cb866ec9e2 100644 --- a/packages/asset-buyer/src/quote_consumers/swap_quote_consumer.ts +++ b/packages/asset-buyer/src/quote_consumers/swap_quote_consumer.ts @@ -13,7 +13,6 @@ import { SwapQuote, SwapQuoteConsumerBase, SwapQuoteConsumerOpts, - ValidSwapQuoteConsumer, } from '../types'; import { assert } from '../utils/assert'; import { assetDataUtils } from '../utils/asset_data_utils'; @@ -75,7 +74,7 @@ export class SwapQuoteConsumer implements SwapQuoteConsumerBase, - ): Promise { + ): Promise> { const wethAssetData = assetDataUtils.getEtherTokenAssetData(this._contractWrappers); if (swapQuoteConsumerUtils.isValidForwarderSwapQuote(quote, wethAssetData)) { if (opts.takerAddress !== undefined) { diff --git a/packages/asset-buyer/src/types.ts b/packages/asset-buyer/src/types.ts index 4114a54d78..8012f1b123 100644 --- a/packages/asset-buyer/src/types.ts +++ b/packages/asset-buyer/src/types.ts @@ -129,8 +129,6 @@ export interface SwapQuoteConsumerBase { executeSwapQuoteOrThrowAsync(quote: SwapQuote, opts: Partial): Promise; } -export type ValidSwapQuoteConsumer = ExchangeSwapQuoteConsumer | ForwarderSwapQuoteConsumer; - /** * networkId: The networkId that the desired orders should be for. */