node-binance-api
node-binance-api copied to clipboard
Can't use TS types
Hi When I tries use Binance type like this:
import Binance from 'node-binance-api';
new Binance()
I get this error:
TypeError: node_binance_api_1.default is not a constructor
I don't know if I do it wrong, or it problem in package itself. I searched about this, but not found how to do it well. Please help.
OS: Linux Mint Node: 17.1 Ts-Node: 10.4
Any news?