binance-api-node
binance-api-node copied to clipboard
futuresCancelBatchOrders lacks return-type annotation
The PR https://github.com/ViewBlock/binance-api-node/pull/586 introduced type definitions for futuresCancelBatchOrders
. 🚀
Unfortunately, the function is missing a return-type definition which becomes a problem when trying to use it with strictly typed code:
binance-api-node/index.d.ts:666:5 - error TS7010: 'futuresCancelBatchOrders', which lacks return-type annotation, implicitly has an 'any' return type.
@jinusean do you know what the function returns or is it just Promise<void>
?
P.S. It's funny that the error occurs in line 666. 😈