Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #807 - error TS7010 #808

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions node-binance-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ declare module "node-binance-api" {
*/
subscriptions(...args: any): any[];
subscriptions(...args: any): any;

/**
* Terminates a web socket
* @param {string} endpoint - the string associated with the endpoint
Expand Down Expand Up @@ -751,7 +751,7 @@ declare module "node-binance-api" {
*/
aggTrades(symbol: _symbol, options?: any, callback?: _callback): Promise<any>;
aggTrades(...args: any): any;

/**
* Get the recent trades
* @param {string} symbol - the symbol
Expand Down Expand Up @@ -1405,7 +1405,7 @@ declare module "node-binance-api" {
* Futures WebSocket mark price
* @param {symbol} symbol name or false. can also be a callback
* @param {function} callback - callback function
* @param {string} speed - 1 second updates (@1s). leave blank for default 3 seconds
* @param {string} speed - 1 second updates (@1s). leave blank for default 3 seconds
* @return {string} the websocket endpoint
*/
futuresMarkPriceStream(symbol?: _symbol, callback?: _callback, speed?: string): string;
Expand Down Expand Up @@ -1500,7 +1500,7 @@ declare module "node-binance-api" {
* @param {string} endpoint - the string associated with the endpoint
* @return {undefined}
*/
deliveryTerminate(endpoint: string);
deliveryTerminate(endpoint: string): any;
deliveryTerminate(...args: any): any;

/**
Expand Down