Unexpected error when importing HashSet #150
-
I'm probably doing something wrong here. I'm trying out Rimbu's HashSets in Typescript with bun:
This file compiles fine but I see the following error when I run it:
Any advice much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Thanks for reporting! It looks like you're not doing anything wrong. I tried your code snippet in a CodeSandbox instance, and that works fine. I have not personally tried to use bun yet, but I suspect the issue lies there somewhere. I ran your example with bun and indeed get the same error message. However, if I run it with bun inside the rimbu code base after building it normally, it works fine. It is a mystery to me why that would be. Since bun seems to be able to directly run TypeScript, it could be best to point bun to the TypeScript code instead of the transpiled code. I see in the bun documentation that they support the Created an issue |
Beta Was this translation helpful? Give feedback.
-
Good news! I think I managed to get rimbu to work with Furthermore, as mentioned before a bug in |
Beta Was this translation helpful? Give feedback.
-
Thank you for your hard work! |
Beta Was this translation helpful? Give feedback.
Thank you for your hard work!