File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,6 @@ class Codebolt {
97
97
debug = debug ;
98
98
}
99
99
100
- // export default new Codebolt();
100
+ export default new Codebolt ( ) ;
101
101
102
- module . exports = new Codebolt ( ) ;
102
+ // module.exports = new Codebolt();
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { EventEmitter } from 'events';
5
5
/**
6
6
* CustomEventEmitter class that extends the Node.js EventEmitter class.
7
7
*/
8
- class CustomEventEmitter extends EventEmitter { }
8
+ export class CustomEventEmitter extends EventEmitter { }
9
9
10
10
/**
11
11
* Chat module to interact with the WebSocket server.
Original file line number Diff line number Diff line change 1
1
import cbws from './websocket' ;
2
2
3
- enum logType {
3
+ export enum logType {
4
4
info = "info" ,
5
5
error = "error" ,
6
6
warning = "warning"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { EventEmitter } from 'events';
4
4
/**
5
5
* CustomEventEmitter class that extends the Node.js EventEmitter class.
6
6
*/
7
- class CustomEventEmitter extends EventEmitter { }
7
+ export class CustomEventEmitter extends EventEmitter { }
8
8
/**
9
9
* A module for executing commands in a terminal-like environment via WebSocket.
10
10
*/
You can’t perform that action at this time.
0 commit comments