add return type
This commit is contained in:
parent
bb1ae4c4ec
commit
35ef127675
|
|
@ -34,7 +34,7 @@ function isJsxComponent(component) {
|
|||
|
||||
/**
|
||||
* @param {any} type
|
||||
* @returns type is Playwright's mock JSX.Fragment
|
||||
* @returns {boolean} type is Playwright's mock JSX.Fragment
|
||||
*/
|
||||
function isJsxFragment(type) {
|
||||
return typeof type === 'object' && type?.__pw_jsx_fragment;
|
||||
|
|
|
|||
Loading…
Reference in a new issue