Circular Dependency Issue
Hey, I'm currently experiencing a weird circular dependency issue. I have 3 typescript files, 1 main file, 1 file to import the event files and 1 event file. In the main file i'm using require to import my event files. The reason for this is because the variable client should first be populated before using it in the other files.
This is my main file (Client.ts):
This is my mapping file (Initializer.ts):
And this is my event file (ChannelCreate.ts):
This is my main file (Client.ts):
This is my mapping file (Initializer.ts):
And this is my event file (ChannelCreate.ts):
