I keep receiving this error when using @ApplyOptions.
This only happens on some commands, especially new commands that I create by generating using the CLI or copying other existing commands.
Solution:Jump to solution
It's alright, it was something with my tsconfig, but that was automatically added by SapphireCLI.
4 Replies
Where are you placing the decorator? It can be placed only on classes, not methods or properties.
Solution
It's alright, it was something with my tsconfig, but that was automatically added by SapphireCLI.
the problem was adding experimentalDecorators to tsconfig CC @Noxxe
Oh ok