node-binance-api icon indicating copy to clipboard operation
node-binance-api copied to clipboard

Can't use TS types

Open elihaidv opened this issue 4 years ago • 1 comments

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

elihaidv avatar Dec 05 '21 10:12 elihaidv

Any news?

alekh-impressit avatar Jul 24 '22 19:07 alekh-impressit