rxjs5 - no WebSocket constructor can be found
问题 I'm trying to do something basic, but it's completely eluding me. I'm trying to create an Observable from rxjx/observable/dom/webSocket in RxJS5, but I'm not using typescript, or es6 modules... just plain 'ole good commonJS. I've managed to patch the Observable properly according to the docs, but whenever I try to pass in the string expected for the subject, I get the error: no WebSocket constructor can be found , [source]. I haven't had time to dig into TypeScript yet, but from what I can