Extending the container wont work?
Maybe my enviroment is wrong?
I restarted the ts client*
Solution:Jump to solution
WAIT solved i didnt have sapphire/pieces installed, (i usually have it so i didnt check)
4 Replies
also the declaration IS on a .d.ts file
Is there a difference between that
api: API
and @sapphire/plugin-api
? Not that it's going to solve why the module augmentation isn't working, but still a possible solution.
Also, do you have @sapphire/pieces
in your package.json and tried deduplicating/hoisting the dependencies?no
is a different api
hoisting?
so i have to put sapphire/pieces on top?
Solution
WAIT solved i didnt have sapphire/pieces installed, (i usually have it so i didnt check)