DOC: update documentation of type annotation (PEP 585)
pre commit failing Without the CSS:
![image](https://user-images.githubusercontent.com/6618166/146617012-a67d98de-2419-4608-ba7c-e36d608e5ebb.png)
