add return type

This commit is contained in:
Simon Knott 2024-10-02 10:36:23 +02:00
parent bb1ae4c4ec
commit 35ef127675
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -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;