So, after having read that, you should know that someone suggested me to open the same issue here. I don't know if this is related to sphinx-autodoc-typehints, but I'm opening it here in case it's and in case you know a solution or I'd like to tackle the problem.
I'm not familiar with this codebase. However, once I have some time, I'll start to check it and see if I can provide a solution. I'll let you know (if I don't forget).
Please, see https://github.com/sphinx-doc/sphinx/issues/11460 first.
So, after having read that, you should know that someone suggested me to open the same issue here. I don't know if this is related to
sphinx-autodoc-typehints
, but I'm opening it here in case it's and in case you know a solution or I'd like to tackle the problem.