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

feat: Add type declarations for SVGNode methods #192

Merged
merged 1 commit into from
Jan 2, 2023
Merged

Conversation

meyfa
Copy link
Owner

@meyfa meyfa commented Jan 2, 2023

This patch adds type declarations for all methods of SVGNode and of its subclasses. Some parameters of attribute setters were intentionally not restricted (i.e., they still allow mixed) so that it's still possible to pass in numeric values.

@meyfa meyfa added the feature New feature or request label Jan 2, 2023
@meyfa meyfa added this to the v0.14.0 milestone Jan 2, 2023
This patch adds type declarations for all methods of SVGNode and of its
subclasses. Some parameters of attribute setters were intentionally not
restricted (i.e., they still allow `mixed`) so that it's still possible
to pass in numeric values.
@meyfa meyfa merged commit ee7d12e into main Jan 2, 2023
@meyfa meyfa deleted the feat/svgnode-types branch January 2, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant