Unable to resolve signature of class decorator when called as an expression.
right after creating a command with sapphire-cli in typescript , the decorator ApplyOptions returns a error
The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
is there any workaround for this ?3 Replies
Solution
Enable the experimental decorator option in tsconfig I think
..You actually made me realise that i need a tsconfig 😂
Thanks !!
You're welcome 🙂