Skip to content

Commit 5d15a8f

Browse files
committed
chore: revert unintended changes
1 parent cf20384 commit 5d15a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/component-tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ReactTestInstance } from 'react-test-renderer';
44
* Checks if the given element is a host element.
55
* @param element The element to check.
66
*/
7-
export function isHostElement(element?: ReactTestInstance | null) {
7+
export function isHostElement(element?: ReactTestInstance | null): boolean {
88
return typeof element?.type === 'string';
99
}
1010

0 commit comments

Comments
 (0)