TypeScript client.cooldowns

Hihi. I have a bot in JavaScript working perfectly fine but I decide to change it to TypeScript(im totally new in ts but not in js).
The problem is then when I use client.cooldowns = new Collection(...) VSCode says that the porperty cooldowns does not exists in Client<boolean>.
The thing is, how can I add the property cooldowns to the client so ts recognizes it?
What I can do is parse client to any and problem solved, but I think is not the best option.
image.png
Was this page helpful?