@oddo/lang 0.0.6 → 0.0.7

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/index.js CHANGED
@@ -4540,7 +4540,7 @@ function convertArrowFunction2(expr) {
4540
4540
  body = null;
4541
4541
  }
4542
4542
  currentScope = savedScope;
4543
- if (reactiveDepsForBody.length > 0) {
4543
+ if (reactiveDepsForBody.length > 0 || params.length > 0) {
4544
4544
  usedModifiers.add("liftFn");
4545
4545
  const depParams = reactiveDepsForBody.map((id) => t.identifier(id));
4546
4546
  const allParams = [...depParams, ...params];
package/dist/index.mjs CHANGED
@@ -4540,7 +4540,7 @@ function convertArrowFunction2(expr) {
4540
4540
  body = null;
4541
4541
  }
4542
4542
  currentScope = savedScope;
4543
- if (reactiveDepsForBody.length > 0) {
4543
+ if (reactiveDepsForBody.length > 0 || params.length > 0) {
4544
4544
  usedModifiers.add("liftFn");
4545
4545
  const depParams = reactiveDepsForBody.map((id) => t.identifier(id));
4546
4546
  const allParams = [...depParams, ...params];