Removes unnecessary interfaces implemented by Window, Node and Element classes and by classes with a dependency to them - By @capricorn86 in task #1330
Interfaces was used to solve problems with circular dependencies (e.g. Window => Document => Window)
Newer versions of Typescript has solved this problem
This release is only breaking if you are using the interfaces. Then you can import and use the class as type instead (e.g. use HTMLElement instead of IHTMLElement)
Commits
8fc9edc Merge pull request #1331 from capricorn86/1330-remove-node-interfaces-as-types
32d51ea chore: #1330 Fixes wrong imports in unit tests
04be9be chore: #1330 Fixes wrong imports in unit tests
4edd575 chore: #1330 Fixes wrong imports in unit tests
121fb40 chore: #1330 Fixes problem with import of Window in jest-environment
d7c7d45 BREAKING CHANGE: #1330 Removes interfaces for Node's, as they are no longer...
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps @happy-dom/global-registrator from 13.10.1 to 14.0.0.
Release notes
Sourced from
@happy-dom/global-registrator
's releases.Commits
8fc9edc
Merge pull request #1331 from capricorn86/1330-remove-node-interfaces-as-types32d51ea
chore: #1330 Fixes wrong imports in unit tests04be9be
chore: #1330 Fixes wrong imports in unit tests4edd575
chore: #1330 Fixes wrong imports in unit tests121fb40
chore: #1330 Fixes problem with import of Window in jest-environmentd7c7d45
BREAKING CHANGE: #1330 Removes interfaces for Node's, as they are no longer...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show