You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling .toJSON() on a user object returns a result with an unknown type. I asked around on the discord support server and did not find any conclusive reason as to why this is.
Which package is this bug report for?
discord.js
Issue description
Calling
.toJSON()
on a user object returns a result with an unknown type. I asked around on the discord support server and did not find any conclusive reason as to why this is.Here is an example of a jsonified user:
Can typings be added to this method?
Code sample
No response
Package version
discord.js@14.0.0-dev.1650931749-df64d3e
Node.js version
v16.14.0 | typescript@4.6.3
Operating system
No response
Priority this issue should have
Low (slightly annoying)
Which partials do you have configured?
Not applicable (subpackage bug)
Which gateway intents are you subscribing to?
Not applicable (subpackage bug)
I have tested this issue on a development release
df64d3e
The text was updated successfully, but these errors were encountered: