From e39ef95191c3e2894d75a24d16d68caeb0acb601 Mon Sep 17 00:00:00 2001 From: David Sun Date: Wed, 3 Jul 2019 15:30:07 -0700 Subject: [PATCH] fixed build issues --- .../asset-buyer/src/quote_consumers/swap_quote_consumer.ts | 3 +-- packages/asset-buyer/src/types.ts | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) 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. */