Skip to content
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

Creating a new BroadcastEventListener throws error #125

Open
RyanHayden opened this issue Jul 24, 2018 · 2 comments
Open

Creating a new BroadcastEventListener throws error #125

RyanHayden opened this issue Jul 24, 2018 · 2 comments

Comments

@RyanHayden
Copy link

Following the example using version 6.0.0 I am receiving an error when creating a new BroadcastEventListener. (Using listenFor on the SignalRConnection throws the same error because it is also creating and returning a BroadcastEventListener)

image

error:
image

Interesting enough, if I copy the class from the GitHub source code and add it into my project manually, the code then works.

@jpenc
Copy link

jpenc commented Nov 29, 2018

You're probably targeting es6 or es2015 but this code only works with es5. Unfortunately I have to stick with es2015 due to some other dependencies so this is a show stopper for me as well. If you can, target es5 instead.

Any plans to get this to es2015 compatibility level in the near future?

@carol-braileanu
Copy link

Getting the same error using Angular 8. Any way to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants