[WIP] Limit Orders #367
Annotations
13 errors
Lint:
src/pages/trade/ui/order-form/order-form-range-liquidity.tsx#L24
'exchangeRate' is declared but its value is never read.
|
Lint:
src/pages/trade/ui/order-form/order-form-range-liquidity.tsx#L151
Type 'string | undefined' is not assignable to type 'string'.
|
Lint:
src/pages/trade/ui/order-form/order-input.tsx#L91
Type 'string | number | null | undefined' is not assignable to type 'string | number | readonly string[] | undefined'.
|
Lint:
src/pages/trade/ui/order-form/slider.tsx#L14
Type 'string | number' is not assignable to type 'number | undefined'.
|
Lint:
src/pages/trade/ui/order-form/slider.tsx#L15
The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
|
Lint:
src/pages/trade/ui/order-form/store/index.ts#L12
'PositionState_PositionStateEnum' is declared but its value is never read.
|
Lint:
src/pages/trade/ui/order-form/store/index.ts#L13
'TradingPair' is declared but its value is never read.
|
Lint:
src/pages/trade/ui/order-form/store/index.ts#L15
'PositionState' is declared but its value is never read.
|
Lint:
src/pages/trade/ui/order-form/store/limit-order.ts#L47
Type 'string' is not assignable to type 'number'.
|
Lint
Process completed with exit code 2.
|
src/shared/math/position.test.ts > planToPosition > works for plans with identical exponent:
src/shared/math/position.test.ts#L53
AssertionError: expected 5 to deeply equal 5000000
- Expected
+ Received
- 5000000
+ 5
❯ src/shared/math/position.test.ts:53:52
|
src/shared/math/position.test.ts > planToPosition > works for plans with different exponents:
src/shared/math/position.test.ts#L74
AssertionError: expected 5 to deeply equal 5000000
- Expected
+ Received
- 5000000
+ 5
❯ src/shared/math/position.test.ts:74:52
|
test
Process completed with exit code 1.
|