We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb5ee4 commit 0c9c10eCopy full SHA for 0c9c10e
src/helpers/component-tree.ts
@@ -4,7 +4,7 @@ import { ReactTestInstance } from 'react-test-renderer';
4
* Checks if the given element is a host element.
5
* @param element The element to check.
6
*/
7
-export function isHostElement(element?: ReactTestInstance | null): boolean {
+export function isHostElement(element?: ReactTestInstance | null) {
8
return typeof element?.type === 'string';
9
}
10
0 commit comments