Skip to content

Commit 31f6b70

Browse files
committed
refactor: replace "any" with "WalletData" return type
TICKET: COIN-3571
1 parent e8c3e36 commit 31f6b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/sdk-core/src/bitgo/wallet/wallet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3621,7 +3621,7 @@ export class Wallet implements IWallet {
36213621
* @param {String} params.amount - Amount to send the forwarder (optional). If not given, defaults to sending an estimate of the amount needed for a fund recovery
36223622
* @returns {*}
36233623
*/
3624-
public async fundForwarder(params: FundForwardersOptions): Promise<any> {
3624+
public async fundForwarder(params: FundForwardersOptions): Promise<WalletData> {
36253625
if (_.isUndefined(params.forwarderAddress)) {
36263626
throw new Error('forwarder address required');
36273627
}
@@ -3637,7 +3637,7 @@ export class Wallet implements IWallet {
36373637
* @param {List} params.forwarders - list of fund forwarder options
36383638
* @returns {*}
36393639
*/
3640-
public async fundForwarders(params: FundForwarderParams): Promise<any> {
3640+
public async fundForwarders(params: FundForwarderParams): Promise<WalletData> {
36413641
if (_.isUndefined(params.forwarders) || params.forwarders.length == 0) {
36423642
throw new Error('fund forwarder options required');
36433643
}

0 commit comments

Comments
 (0)