Files
discordeno/packages
Fleny ef5cf54c66 fix(bot): Use an object to present desired properties errors (#4208)
* Use DesiredPropertiesError instead of strings

Using an object allows typescript to error in more cases as with strings
if the original propriety was a string it would not error for stuff like
`.endsWith(...)`

We use a symbol to make sure the type doesn't actually become a generic
object, but instead is a specific type that can be checked against.

* Update docs
2025-06-01 08:20:16 +02:00
..