Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Type Hints #191

Open
AndrewMHenry opened this issue Feb 1, 2024 · 0 comments
Open

Feature Request: Type Hints #191

AndrewMHenry opened this issue Feb 1, 2024 · 0 comments

Comments

@AndrewMHenry
Copy link

Hello,

Would it be feasible to add type hints for all or part of the code? For example, if I call the .render() method on a document, mypy infers the return type as Any and complains when I try to use it as a string.

Also, thanks for all your work on this library! Using it makes code so much cleaner and more readable than ad-hoc implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant