Wrap overloads with `if TYPE_CHECKING`
Opened this issue · 2 comments
willmcgugan commented
The @overload
decorator incurs a small performance penalty.
If we wrap overloaded methods with if TYPE_CHECKING
we can save a little import time.
Pointed out by @bswck willmcgugan/declare#3
bswck commented
Feel free to assign me! I'll be happy to help.
willmcgugan commented
Much appreciated!