-
Notifications
You must be signed in to change notification settings - Fork 6
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
Stomp object in stomp.service.ts (Line 84) is empty #1
Comments
Hi, It's a little while since I wrote that code, so looking back at it I'm wondering why I didn't just import it from
I'll see if that works in the morning, if you don't get to it before me :) |
@cmhampton1021 I took a look- thanks for the heads up! Does this fix the problem you were having? Without the definition on L10 at all, we get an error from the typescript compiler:
Moving it into the import
So that's probably why I defined it by hand. But, of course, that's the wrong way of doing it! The right way would be to add a SystemJS mapping in
I've pushed this change in commit 0e511d2. :) |
@sjmf That did the trick, thank you so much! |
Hello,
I am trying to implement this library, and when I try to create the client object, nothing happens.
this.client = Stomp.client( scheme + '://' + this.config.host + ':' + this.config.port + '/stomp/websocket' );
I see that 'Stomp' is declared on line 10, but it does not get assigned a value that I can see. I'm sure I'm missing something silly.
Thanks
The text was updated successfully, but these errors were encountered: