Type 'string' is not assignable to type 'undefined'.ts(2322)
spot.d.ts(346, 5): The expected type comes from property 'newOrderRespType' which is declared here on type 'NewSpotOrderParams<OrderType, undefined>'
At runtime this works ok, so I think this is just a wrong TS type for newOrderRespType
I have this code
but getting
At runtime this works ok, so I think this is just a wrong TS type for
newOrderRespType