timotejroiko / discord.js-light

All the power of discord.js, zero caching. This library modifies discord.js's internal classes and functions in order to give you full control over its caching behaviour.
Apache License 2.0
292 stars 29 forks source link

LimitedCollection Typescript Error #74

Closed vascobotelho closed 3 years ago

vascobotelho commented 3 years ago

Hello, I'm having a typescript error. It's warning me that 'All declarations of "LimitedCollection' must have identical type parameters" in node_modules/discord.js-light/client.d.ts:35:12 and node_modules/discord.js-light/node_modules/discord.js/typings/index.d.ts:1084:14

node: v16.6.0 discord.js: v13.1.0 discord.js-light: v4.1.4 image_2021-09-12_183650

timotejroiko commented 3 years ago

hello,

i added a fix to the v4 branch, can you test it? npm install timotejroiko/discord.js-light#v4

vascobotelho commented 3 years ago

I have tested, and it's not showing the error any more. Thank you

timotejroiko commented 3 years ago

cool, i'll update it on npm soon