fix linter configuration & jest type dependency
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { REST_CLIENT_TYPE_ENUM } from './util/requestUtils';
|
||||
import {
|
||||
APIResponse,
|
||||
@@ -273,6 +274,7 @@ export class LinearClient extends BaseRestClient {
|
||||
*/
|
||||
|
||||
getPosition(): Promise<APIResponseWithTime<PerpPositionRoot[]>>;
|
||||
|
||||
getPosition(
|
||||
params: Partial<SymbolParam>
|
||||
): Promise<APIResponseWithTime<PerpPosition[]>>;
|
||||
@@ -344,7 +346,10 @@ export class LinearClient extends BaseRestClient {
|
||||
getHistoryTradeRecords(
|
||||
params: LinearGetHistoryTradeRecordsRequest
|
||||
): Promise<APIResponseWithTime<any>> {
|
||||
return this.getPrivate('/private/linear/trade/execution/history-list', params);
|
||||
return this.getPrivate(
|
||||
'/private/linear/trade/execution/history-list',
|
||||
params
|
||||
);
|
||||
}
|
||||
|
||||
getClosedPnl(
|
||||
|
||||
Reference in New Issue
Block a user