this is my client class:
namespace Core {
export class Client {}
}
and I create a new object like below:
let client = new Core.Client();
but I get this error:
/dist/index.js:10
let client = new Core.Client()
^
ReferenceError: Core is not defined
at Namespace.<anonymous> (/dist/index.js:10:18)
at Namespace.emit (events.js:314:20)
at Namespace.emit (/node_modules/socket.io/lib/namespace.js:213:10)
at /node_modules/socket.io/lib/namespace.js:181:14
at processTicksAndRejections (internal/process/task_queues.js:79:11)
what is the problem?