capricorn86 / happy-dom

A JavaScript implementation of a web browser without its graphical user interface
MIT License
3.28k stars 201 forks source link

Remove unnecessary interfaces as types #1330

Closed capricorn86 closed 6 months ago

capricorn86 commented 6 months ago

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 and Element classes and classes that has a dependency to them