Skip to content

Commit a46417e

Browse files
authored
fix: narrow container type to HTMLElement in RenderResult (#551)
Closes #550
1 parent f6740fd commit a46417e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/testing-library/src/lib/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface RenderResult<ComponentType, WrapperType = ComponentType> extend
3636
* The containing DOM node of your rendered Angular Component.
3737
* This is a regular DOM node, so you can call container.querySelector etc. to inspect the children.
3838
*/
39-
container: Element;
39+
container: HTMLElement;
4040
/**
4141
* @description
4242
* Prints out the component's DOM with syntax highlighting.

0 commit comments

Comments
 (0)