Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Commit

Permalink
Add pageArgs to the getProductTrades definition
Browse files Browse the repository at this point in the history
Fix for issue: #306
  • Loading branch information
wilwade committed Apr 13, 2018
1 parent 5ae4c55 commit 8a046d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ declare module 'gdax' {
getProductTicker(productID: string, callback: callback<ProductTicker>): void;
getProductTicker(productID: string, ): Promise<ProductTicker>;

getProductTrades(productID: string, callback: callback<any>): void;
getProductTrades(productID: string, ): Promise<any>;
getProductTrades(productID: string, pageArgs: PageArgs, callback: callback<any>): void;
getProductTrades(productID: string, pageArgs: PageArgs): Promise<any>;

getProductTradeStream(productID: string, tradesFrom: number, tradesTo: any, callback: callback<any>): void;
getProductTradeStream(productID: string, tradesFrom: number, tradesTo: any): Promise<any>;
Expand Down

0 comments on commit 8a046d7

Please sign in to comment.