-
Notifications
You must be signed in to change notification settings - Fork 11
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: Semaphore is not a constructor #8
Comments
Can you attach some playground or zipped example? |
Here's an example: example.zip Run it via:
It looks like the issue is around module handling. If my code isn't a module then it seems to work, but once I configure it to work as a module that's when it seems to dislike the Semaphore constructor. |
I'm getting the same error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a trick to using this module in a Typescript project?
I was able to work around the issue by changing the
import
statement to this, but it seems a bit dodgy:Am I doing something wrong?
The text was updated successfully, but these errors were encountered: