fix linter configuration & jest type dependency

This commit is contained in:
tiagosiebler
2023-02-17 13:51:40 +00:00
parent 7669c037c8
commit 8e54ecbaf5
34 changed files with 1600 additions and 1710 deletions

View File

@@ -71,9 +71,9 @@ export type StopOrderTypeV5 =
/**
* Position index. Used to identify positions in different position modes.
*
* - 0one-way mode position
* - 1Buy side of hedge-mode position
* - 2Sell side of hedge-mode position
* - 0 one-way mode position
* - 1 Buy side of hedge-mode position
* - 2 Sell side of hedge-mode position
*/
export type PositionIdx = 0 | 1 | 2;
@@ -124,15 +124,11 @@ export type PermissionTypeV5 =
/**
* Leveraged token status:
*
* 1LT can be purchased and redeemed
*
* 2LT can be purchased, but not redeemed
*
* 3LT can be redeemed, but not purchased
*
* 4LT cannot be purchased nor redeemed
*
* 5Adjusting position
* - '1' LT can be purchased and redeemed
* - '2' LT can be purchased, but not redeemed
* - '3' LT can be redeemed, but not purchased
* - '4' LT cannot be purchased nor redeemed
* - '5' Adjusting position
*/
export type LeverageTokenStatusV5 = '1' | '2' | '3' | '4' | '5';