Skip to content

Commit

Permalink
fix: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
ilinikh.a1 committed Oct 30, 2023
1 parent dfec98f commit c2c5a40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export interface PerpetualSwapPositionsData<
leverage: number;
}

export class BingxPerpetualSwapPositionsEndpoint<R = PerpetualSwapPositionsData>
export class BingxPerpetualSwapPositionsEndpoint<
R = PerpetualSwapPositionsData[],
>
extends Endpoint
implements EndpointInterface<BingxResponse<R>>
{
Expand Down
2 changes: 1 addition & 1 deletion src/bingx/interfaces/trade-order.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface BingxTradeOrderInterface {
price?: string;
quantity?: string;
stopPrice?: string;
clientOrderId?: string;
clientOrderID?: string;
timestamp?: string;
recvWindow?: string;
timeInForce?: string;
Expand Down

0 comments on commit c2c5a40

Please sign in to comment.