@effect/language-service 0.16.4 → 0.16.5

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/index.js CHANGED
@@ -1980,7 +1980,7 @@ var expectedAndRealType = fn("TypeCheckerApi.expectedAndRealType")(function* (so
1980
1980
  if (expectedType) {
1981
1981
  result.push([body, expectedType, body, realType]);
1982
1982
  }
1983
- ts.forEachChild(node, appendNodeToVisit);
1983
+ ts.forEachChild(body, appendNodeToVisit);
1984
1984
  continue;
1985
1985
  } else if (ts.isArrowFunction(node) && (node.typeParameters || []).length > 0 && ts.isExpression(node.body)) {
1986
1986
  const body = node.body;
@@ -1989,7 +1989,7 @@ var expectedAndRealType = fn("TypeCheckerApi.expectedAndRealType")(function* (so
1989
1989
  if (isSome2(expectedType)) {
1990
1990
  result.push([body, expectedType.value, body, realType]);
1991
1991
  }
1992
- ts.forEachChild(node, appendNodeToVisit);
1992
+ ts.forEachChild(body, appendNodeToVisit);
1993
1993
  continue;
1994
1994
  } else if (ts.isSatisfiesExpression(node)) {
1995
1995
  const expectedType = typeChecker.getTypeAtLocation(node.type);