Title says all.
Otherwise there is no other way to alias NoneType on Python 3 (it's no longer in types). mypy doesn't understand that void = type(None) is an alias, and thus void is an invalid type. The only way to do this currently is to write void = Union[None] which is a hack.