Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
W3stside committed Jul 29, 2022
1 parent 08b084a commit 3a13412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export class Token {
}

export type WithEnabled = {
enabled?: boolean
enabled: boolean
}
2 changes: 1 addition & 1 deletion src/types/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ParaswapOptions } from '../api/paraswap/types'

export type SdkOptions = {
loglevel?: LogLevelDesc
zeroXOptions?: Partial<ZeroXOptions & WithEnabled>
zeroXOptions?: Partial<ZeroXOptions> & WithEnabled
paraswapOptions?: Partial<ParaswapOptions> & WithEnabled
}
export type OptionsWithZeroXEnabled = SdkOptions & { zeroXOptions: Partial<ZeroXOptions> & { enabled: true } }
Expand Down

0 comments on commit 3a13412

Please sign in to comment.