From 0b257c01f516a714d35e2980e493b2b38f5580b7 Mon Sep 17 00:00:00 2001 From: Frederique Mittelstaedt Date: Sun, 4 Feb 2018 16:43:08 +0100 Subject: [PATCH] Fix ccxt.d.ts errors of issue 1765 --- ccxt.d.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ccxt.d.ts b/ccxt.d.ts index 1f228912ce92..185e7ced9f76 100644 --- a/ccxt.d.ts +++ b/ccxt.d.ts @@ -278,13 +278,13 @@ declare module 'ccxt' { extractParams (str: string): string[]; createOrder (market: string, type: string, side: string, amount: string, price?: string, params?: string): Promise; fetchBalance (params?: any): Promise; - fetchOrderBook (market: string, limit: number = undefined, params?: any): Promise; - fetchTicker (market: string): Promise; - fetchTickers (): Promise; - fetchTrades (symbol: string, since: number = undefined, limit: number = undefined, params?: {}): Promise; - fetchOHLCV? (symbol: string, timeframe: string, since: number = undefined, limit: number = undefined, params: any = {}): Promise; - fetchOrders (symbol?: string, since: number = undefined, limit: number = undefined, params?: {}): Promise; - fetchOpenOrders (symbol?: string, since: number = undefined, limit: number = undefined, params?: {}): Promise; + fetchOrderBook(market: string, limit?: number, params?: any): Promise; + fetchTicker(market: string): Promise; + fetchTickers(): Promise; + fetchTrades(symbol: string, since?: number, limit?: number, params?: {}): Promise; + fetchOHLCV?(symbol: string, timeframe: string, since?: number, limit?: number, params?: {}): Promise; + fetchOrders(symbol?: string, since?: number, limit?: number, params?: {}): Promise; + fetchOpenOrders(symbol?: string, since?: number, limit?: number, params?: {}): Promise; cancelOrder (id: string): Promise; deposit (currency: string, amount: string, address: string, params?: any): Promise; withdraw (currency: string, amount: string, address: string, params?: any): Promise;