#i show you the problem here
1 messages ยท Page 1 of 1 (latest)
This the problem, i already have an export in the code, and i can't export the type too... ๐ญ
https://github.com/garder500/bc-bot-and-ws/blob/master/bot/index.ts
exports default class ExtendedClient..?
and then import the module in other files to use the class as your client type?
oh i se
because, it's for call the Extended Class... to start..?
it's not good ?
Can you move defining the class to its own module
But, how i can start the Bot if i move the export ?
import your client in index.ts
Create a file just for the class and then create a new client in index.ts by importing your class, so you can always reference the file for the class as the type