Skip to content

Commit

Permalink
add default types
Browse files Browse the repository at this point in the history
  • Loading branch information
W3stside committed Jul 28, 2022
1 parent c1d183b commit 08b084a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CowSdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { signOrder, signOrderCancellation, UnsignedOrder } from './utils/sign'
import { ZeroXApi } from './api/0x'
import ParaswapApi from './api/paraswap'
// types
import { SdkOptions, ParaswapEnabled, ZeroXEnabled } from 'sdk'
import { SdkOptions, ParaswapEnabled, ZeroXEnabled, OptionsWithApisEnabledStatus } from 'sdk'

export class CowSdk<T extends ChainId, Opt extends SdkOptions> {
export class CowSdk<T extends ChainId = ChainId, Opt extends SdkOptions = OptionsWithApisEnabledStatus> {
context: Context
cowApi: CowApi
metadataApi: MetadataApi
Expand Down

0 comments on commit 08b084a

Please sign in to comment.