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

Typing hints the component library #160

Open
1 of 4 tasks
rainzee opened this issue Oct 24, 2024 · 0 comments
Open
1 of 4 tasks

Typing hints the component library #160

rainzee opened this issue Oct 24, 2024 · 0 comments

Comments

@rainzee
Copy link
Collaborator

rainzee commented Oct 24, 2024

Abstract & Motivation

Using Python Type Hint syntaxit will bring many benefits, the most direct of which is more powerful IDE support and intelligent perception, while also reducing various bugs and making the component library more robust. refer to:

Implementation

We will achieve our goals through a series of progressive PRs

  • use typing-extensions avoid low version dependency issues
  • impl typing module
  • Gradually abstract away type aliases
  • Adding type annotations incrementally
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