Container augmentation no longer working

I'm working on updating my dependencies to work with TS5 and my module augmentation specifically for container is no longer working. Augmentation of stuff in @sapphire/framework like DetailedDescriptionCommandObject is still working just fine. Here is the file where I'm doing the augmentation: https://github.com/BenSegal855/Steve-V3/blob/dev/src/lib/augments.ts Here is my current local package.json: https://pastebin.com/63NJ74FJ
Solution:
things to try: - remove this line: https://github.com/BenSegal855/Steve-V3/blob/f1be38658a9df71668b4dd1503dfb969f12c7d8e/.vscode/settings.json#L6 - remove node_modules & reinstall - reload vscode - make sure you do not have Ts 4 somewhere in your transient dependencies (yarn why typescript)...
Jump to solution
3 Replies
Solution
Favna
Favna2y ago
things to try: - remove this line: https://github.com/BenSegal855/Steve-V3/blob/f1be38658a9df71668b4dd1503dfb969f12c7d8e/.vscode/settings.json#L6 - remove node_modules & reinstall - reload vscode - make sure you do not have Ts 4 somewhere in your transient dependencies (yarn why typescript)
Favna
Favna2y ago
Ts 5 and overrides works just fine for i.e. @Dragonite
Ben
Ben2y ago
Removing tsdk seems to have done the trick. Now I just need to update 46 imports to be type only imports.
Want results from more Discord servers?
Add your server