-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Binance is not a function #640
Comments
I solved this by deleting my tsconfig file and installing a new one using npx tsconfig.json with option 'node'. B4 that I tried ur solution but lost typechecking and linting. |
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am working in a TypeScript project using ES Modules (ESM) and noticed that it doesn't work out-of-the-box with the types provided from binance-api-node/index.d.ts.
Using the following code:
I ran into this error:
Here is what I did in my code to fix the situtation:
Is anyone else experiencing a similar problem?
The text was updated successfully, but these errors were encountered: