-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Remove unnecessary interfaces as types #1330
Labels
enhancement
New feature or request
Comments
capricorn86
added a commit
that referenced
this issue
Mar 19, 2024
…o longer needed as newer versions of Typescript can handle circular dependencies
capricorn86
added a commit
that referenced
this issue
Mar 19, 2024
capricorn86
added a commit
that referenced
this issue
Mar 19, 2024
capricorn86
added a commit
that referenced
this issue
Mar 19, 2024
capricorn86
added a commit
that referenced
this issue
Mar 19, 2024
capricorn86
added a commit
that referenced
this issue
Mar 19, 2024
…-as-types BREAKING CHANGE: [#1330] Removes interfaces for Node's, as they are n…
capricorn86
changed the title
Remove Node interfaces as types
Remove unnecessary interfaces as types
Mar 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
The main reason for using interfaces as types in Happy DOM is to avoid circular dependencies (e.g. Window => Document => Window)
Describe the solution you'd like
Remove unnecessary interfaces as types for
Window
,Node
andElement
classes and classes that has a dependency to themThe text was updated successfully, but these errors were encountered: