Property 'utilities' does not exist in type 'Container'
it's just my day of getting back to coding after about a year in corporate work and I've been scratching my head for hours now why it cannot utilize @sapphire/plugin-utilities-store on the types.
I don't know if using bun caused this issue, or I may have forgotten something. I tried injecting db to the container, it works. I just don't know for utilities (and probably other internal injections by other native sapphire packages).
Thanks.
Solution:Jump to solution
Did you check out the readme? It's pretty thorough. https://sapphirejs.dev/docs/Documentation/api-plugins/@sapphire/plugin-utilities-store/
If yes then please describe excarly what problem you're facing....
3 Replies
Solution
Did you check out the readme? It's pretty thorough. https://sapphirejs.dev/docs/Documentation/api-plugins/@sapphire/plugin-utilities-store/
If yes then please describe excarly what problem you're facing.
I get that error when I forget to tell TS that I’ve changed the structure. The instructions are in the guide
Sapphire Framework
Using and extending container | Sapphire
The container is a way in which Sapphire achieves Dependency Injection ↗️. This is a very useful feature, since