Type hints for decorated functions losing signature information