-
Notifications
You must be signed in to change notification settings - Fork 5
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
BUG : problem of library import #6
Comments
The issue is that your bundle project is CommonJS so you can switch to new es-module or you can use type import: |
Link is deprecated, can we close this one ? |
Unfortunately the problem is still there : |
Yea because ts-node is fixating on type and not resolving exports. Anyway, I can propose this solution at the moment check if it's working for you: |
Build released on alpha channel: https://www.npmjs.com/package/@starknet-io/types-js/v/0.7.8-alpha.1 |
Describe the bug
When using this lib in ts-node, I have a compilation message error :
To Reproduce
Expected behavior
Use of this library with my project config, without compilation error.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
I am using this project config for a long time, without any problem on many libraries, except this one.
The text was updated successfully, but these errors were encountered: