disnake icon indicating copy to clipboard operation
disnake copied to clipboard

typing: check and error methods are not entirely accurate

Open onerandomusername opened this issue 3 years ago • 1 comments

The type: ignore and the accompanying comment are no longer necessary when using CFT instead of T - this change was a result of removing T entirely from this part of the code, though now that I think about it again, neither T nor CFT are entirely correct here. I'll revert this change and do another pass over the check/error methods in a future PR most likely. ca46dde2f9a28c3de82149502da0ac8c9e7f9557

Originally posted by @shiftinv in https://github.com/DisnakeDev/disnake/pull/610#discussion_r915288563

onerandomusername avatar Jul 07 '22 00:07 onerandomusername

@shiftinv

onerandomusername avatar Sep 17 '22 02:09 onerandomusername

Closing in favor of #1045, which is much more detailed. This may not be trivial to resolve, with the way overload resolution in type checkers works

shiftinv avatar Jun 08 '23 08:06 shiftinv