-
Notifications
You must be signed in to change notification settings - Fork 47
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
Setup proper ESM Support #79
Conversation
My only other comment (and this ties into the failing tests) is that the In the library there is an |
@egmacke Yeah, there already is! You can use Edit: I'm not sure why this type error is happening in the tests for you. These issues never presented themselves locally... |
@alexcaza thanks - sorry I missed the bit in the docs! Regarding the tests - the issue seems to be because you're comparing |
@egmacke no worries! Still worth making it clearer. Yeah, I'll dig into it, because that was the expectation I had during development and was surprised it was lifting the new type to a string. What's confusing is that the GH actions I have setup to run unit tests pass as well, so it's likely a config option somewhere that's off. I'll address this in another PR! |
@alexcaza thanks for getting this resolve nice and quick! With regards the CI not failing - I've had a quick look, and I can't see any point where you build the code in CI. The errors are compile time so wouldn't show up just running the tests. Can I suggest you tweak you CI to include a build step before running the tests? |
Previously there was an issue with the settings in
tsconfig.json
, what configs were being used bytsc
and how bun bundled the project.Closes #78