From b42c7d4ab74a45fd0fc74c0c5a344d91a25d6e64 Mon Sep 17 00:00:00 2001 From: Maksim Popov Date: Fri, 7 Nov 2025 09:40:29 +0000 Subject: [PATCH] fix: narrow container type to HTMLElement in RenderResult --- projects/testing-library/src/lib/models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/testing-library/src/lib/models.ts b/projects/testing-library/src/lib/models.ts index b8628ba..ffe6740 100644 --- a/projects/testing-library/src/lib/models.ts +++ b/projects/testing-library/src/lib/models.ts @@ -36,7 +36,7 @@ export interface RenderResult extend * The containing DOM node of your rendered Angular Component. * This is a regular DOM node, so you can call container.querySelector etc. to inspect the children. */ - container: Element; + container: HTMLElement; /** * @description * Prints out the component's DOM with syntax highlighting.