mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Fix error callback
This commit is contained in:
@@ -13,7 +13,7 @@ client.getAccount("abcdef", (error: Error | null, account: coinbase.Account): vo
|
||||
address.getTransactions({}, (error: Error | null, transactions: coinbase.Transaction[]): void => undefined);
|
||||
});
|
||||
|
||||
account.delete((error: Error): void => undefined);
|
||||
account.delete((error: Error | null): void => undefined);
|
||||
|
||||
account.deposit({ amount: "1", commit: false, currency: "USD", payment_method: "abcdef" }, (error: Error | null, deposit: coinbase.Deposit): void => {
|
||||
deposit.commit((error: Error | null, deposit: coinbase.Deposit): void => undefined);
|
||||
|
||||
Reference in New Issue
Block a user