shipgirlproject / Shoukaku

A stable, powerful and updated wrapper around Lavalink
https://guide.shoukaku.shipgirl.moe/
MIT License
287 stars 86 forks source link

fix(types): error when declaring types #70

Closed sawa-ko closed 3 years ago

sawa-ko commented 3 years ago

The error was because the way the types were exported was by augmenting the package itself, something unnecessary since the types are for the package itself, why would it need to augment itself?

This fixes the problem and the types are now fixed. About my bug that I mentioned on the Discord server about Cannot find module 'eris' or its corresponding type declarations. it was fixed by installing the master version of Shoukaku, apparently it is a bug in their latest version in npmjs.

I also applied some minor improvements to the other types.

Deivu commented 3 years ago

Thanks for the PR, merging it