We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e3e2f5 commit 6b88a9aCopy full SHA for 6b88a9a
src/Client.ts
@@ -39,7 +39,7 @@ export default class Client extends EventEmitter {
39
this.streams = {};
40
this.dispatch = new Peer(transport);
41
42
- config.rtc && WebRTCTransport.setRTCConfiguration(config.rtc);
+ if (config.rtc) WebRTCTransport.setRTCConfiguration(config.rtc);
43
Stream.setDispatch(this.dispatch);
44
45
this.dispatch.on('open', () => {
tslint.json
@@ -1,3 +1,6 @@
1
{
2
- "extends": ["tslint:recommended", "tslint-config-prettier"]
+ "extends": ["tslint:recommended", "tslint-config-prettier"],
3
+ "rules": {
4
+ "max-classes-per-file": false
5
+ }
6
}
0 commit comments