Commit 914a416
committed
fix(transaction-pay): allow undefined useExactInput in getTradeType
isMaxAmount and isPostQuote are both optional, so useExactInput is
boolean | undefined and the build failed on the narrowed parameter type.1 parent 81dba28 commit 914a416
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
| 648 | + | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| |||
0 commit comments