@jsswift/ui 1.0.46 → 1.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.js CHANGED
@@ -1362,7 +1362,7 @@ const unitCover = (v, name = 'size') => {
1362
1362
  };
1363
1363
 
1364
1364
  function uiIsSignal(v) {
1365
- return Array.isArray(v) && v.length === 2 && typeof v[0] === "function" && typeof v[1] === "function";
1365
+ return Array.isArray(v) && (v.length === 2 || (v.length === 3 && typeof v[2] === "function")) && typeof v[0] === "function" && typeof v[1] === "function";
1366
1366
  }
1367
1367
 
1368
1368
  function uiIsRod(v) {