Add type hints for M2M
Based on the issue https://github.com/huggingface/transformers/issues/16059
@Rocketknight1 could you see if it's good?
Thanks :)
_The documentation is not available anymore as the PR was closed or merged._