diff --git a/packages/happy-dom/src/window/IWindow.ts b/packages/happy-dom/src/window/IWindow.ts index 0c8c2ab39..558b8daa8 100644 --- a/packages/happy-dom/src/window/IWindow.ts +++ b/packages/happy-dom/src/window/IWindow.ts @@ -13,6 +13,7 @@ import HTMLFormElement from '../nodes/html-form-element/HTMLFormElement'; import HTMLElement from '../nodes/html-element/HTMLElement'; import HTMLUnknownElement from '../nodes/html-unknown-element/HTMLUnknownElement'; import HTMLInputElement from '../nodes/html-input-element/HTMLInputElement'; +import HTMLSelectElement from '../nodes/html-input-element/HTMLSelectElement'; import HTMLTextAreaElement from '../nodes/html-text-area-element/HTMLTextAreaElement'; import HTMLLinkElement from '../nodes/html-link-element/HTMLLinkElement'; import HTMLStyleElement from '../nodes/html-style-element/HTMLStyleElement'; @@ -128,6 +129,7 @@ export default interface IWindow extends IEventTarget, NodeJS.Global { readonly HTMLTemplateElement: typeof HTMLTemplateElement; readonly HTMLFormElement: typeof HTMLFormElement; readonly HTMLInputElement: typeof HTMLInputElement; + readonly HTMLSelectElement: typeof HTMLSelectElement; readonly HTMLTextAreaElement: typeof HTMLTextAreaElement; readonly HTMLImageElement: typeof HTMLImageElement; readonly HTMLScriptElement: typeof HTMLScriptElement; diff --git a/packages/happy-dom/src/window/Window.ts b/packages/happy-dom/src/window/Window.ts index 741032532..7e1f08aa9 100644 --- a/packages/happy-dom/src/window/Window.ts +++ b/packages/happy-dom/src/window/Window.ts @@ -14,6 +14,7 @@ import HTMLFormElement from '../nodes/html-form-element/HTMLFormElement'; import HTMLElement from '../nodes/html-element/HTMLElement'; import HTMLUnknownElement from '../nodes/html-unknown-element/HTMLUnknownElement'; import HTMLInputElement from '../nodes/html-input-element/HTMLInputElement'; +import HTMLSelectElement from '../nodes/html-input-element/HTMLSelectElement'; import HTMLTextAreaElement from '../nodes/html-text-area-element/HTMLTextAreaElement'; import HTMLLinkElement from '../nodes/html-link-element/HTMLLinkElement'; import HTMLStyleElement from '../nodes/html-style-element/HTMLStyleElement'; @@ -168,6 +169,7 @@ export default class Window extends EventTarget implements IWindow { public readonly HTMLTemplateElement = HTMLTemplateElement; public readonly HTMLFormElement = HTMLFormElement; public readonly HTMLInputElement = HTMLInputElement; + public readonly HTMLSelectElement = HTMLSelectElement; public readonly HTMLTextAreaElement = HTMLTextAreaElement; public readonly HTMLImageElement = HTMLImageElement; public readonly HTMLScriptElement = HTMLScriptElement;