Incorrect typings for `.toString()` in partials?

Alright, I'm not sure whether or not I've found an issue, so correct me if I'm wrong.

  • <GuildMember>.toString() is (ultimately) based on <GuildMember>.user.id
  • <PartialGuildMember>.user.id exists, since it's the only property to be guaranteed on partials
  • Consequently, <PartialGuildMember>.toString() should yield a string similar to the non-partial variant
  • However, ESLint tells me that the latter may evaluate to "[object Object]" (@typescript-eslint/no-base-to-string)
Is there something I'm getting wrong? Is this intended behavior?
image.png
Was this page helpful?