Open gustavomr opened 6 years ago
Trying to use your code and getting this error.
TypeError: sockjs_client_1.SockJS is not a constructor
Can you help me?
I was facing the same problem. Try to use the imports in app.component.ts like this:
import * as Stomp from 'stompjs'; import * as SockJS from 'sockjs-client'; import * as $ from 'jquery';
Trying to use your code and getting this error.
TypeError: sockjs_client_1.SockJS is not a constructor
Can you help me?