-
-
Notifications
You must be signed in to change notification settings - Fork 22.8k
Add missing dictionary and array type hints #106113
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
Add missing dictionary and array type hints #106113
Conversation
Interestingly, |
fae34d8
to
2f324fe
Compare
2f324fe
to
03c7d4b
Compare
03c7d4b
to
093a42e
Compare
093a42e
to
247520b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is useful for the inspector, but ideally the properties should be changed to properly use TypedArray/TypedDictionary. It would break compatibility though, so for now adding only hints is fine.
Thanks! |
Related: #106111, #106087
Adds more type hints that are missing from classes. Type hints for dictionaries and arrays only impact the inspector right now, but have a large impact on usability.