diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-17 01:41:12 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-17 01:41:12 +0800 |
commit | a58771844366d5fd331e6b46a8de596d17fa6632 (patch) | |
tree | 72031d27e76e7af6aef721915083104c4e55af0c /packages | |
parent | 444250520a73ea4e147d501a9df54614689570e5 (diff) | |
download | dexon-sol-tools-a58771844366d5fd331e6b46a8de596d17fa6632.tar dexon-sol-tools-a58771844366d5fd331e6b46a8de596d17fa6632.tar.gz dexon-sol-tools-a58771844366d5fd331e6b46a8de596d17fa6632.tar.bz2 dexon-sol-tools-a58771844366d5fd331e6b46a8de596d17fa6632.tar.lz dexon-sol-tools-a58771844366d5fd331e6b46a8de596d17fa6632.tar.xz dexon-sol-tools-a58771844366d5fd331e6b46a8de596d17fa6632.tar.zst dexon-sol-tools-a58771844366d5fd331e6b46a8de596d17fa6632.zip |
export type instead of interface for more succinct syntax
Diffstat (limited to 'packages')
-rw-r--r-- | packages/asset-buyer/src/types.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/asset-buyer/src/types.ts b/packages/asset-buyer/src/types.ts index 0bf2323bd..9208a3217 100644 --- a/packages/asset-buyer/src/types.ts +++ b/packages/asset-buyer/src/types.ts @@ -80,7 +80,7 @@ export interface BuyQuoteRequestOpts { * * shouldForceOrderRefresh: If set to true, new orders and state will be fetched instead of waiting for the next orderRefreshIntervalMs. Defaults to false. */ -export interface LiquidityRequestOpts extends Pick<BuyQuoteRequestOpts, 'shouldForceOrderRefresh'> {} +export type LiquidityRequestOpts = Pick<BuyQuoteRequestOpts, 'shouldForceOrderRefresh'>; /** * ethAmount: The desired amount of eth to spend. Defaults to buyQuote.worstCaseQuoteInfo.totalEthAmount. |