mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
getSells
This commit is contained in:
@@ -33,7 +33,7 @@ client.getAccount("abcdef", (error: Error, account: coinbase.Account): void => {
|
||||
|
||||
account.getSell("abcdef", (error: Error, deposit: coinbase.Sell): void => undefined);
|
||||
|
||||
account.getSells((error: Error, deposit: coinbase.Sell[]): void => undefined);
|
||||
account.getSells(null, (error: Error, deposit: coinbase.Sell[]): void => undefined);
|
||||
|
||||
account.getTransaction("abcdef", (error: Error, deposit: coinbase.Transaction): void => undefined);
|
||||
|
||||
|
||||
2
types/coinbase/index.d.ts
vendored
2
types/coinbase/index.d.ts
vendored
@@ -678,7 +678,7 @@ export class Account implements Resource {
|
||||
* Lists sells for an account.
|
||||
* Scope: wallet:sells:read
|
||||
*/
|
||||
getSells(cb: (error: Error, result: Sell[]) => void): void;
|
||||
getSells(opts: null, cb: (error: Error, result: Sell[]) => void): void;
|
||||
|
||||
/**
|
||||
* Show an individual sell.
|
||||
|
||||
Reference in New Issue
Block a user