Using type stub files to make static type checking instead of using annotations from source codes.
Pros
- Be able to remove the
typing-extensions dependency from production release.
...
Cons
- Annotations may be missing in documents of APIs references.
...