Comment by maleldil
3 hours ago
Annotating empty collections is one of the few places you need to annotate outside function signatures. It's not a big deal. It doesn't happen that often.
3 hours ago
Annotating empty collections is one of the few places you need to annotate outside function signatures. It's not a big deal. It doesn't happen that often.
And, when it does, you can just put them when the empty container is assigned:
Many people don't seem to know this exists.