@effect/language-service 0.16.4 → 0.16.6
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 +24 -14
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +2 -2
- package/transform.js.map +1 -1
package/package.json
CHANGED
package/transform.js
CHANGED
|
@@ -1255,7 +1255,7 @@ var expectedAndRealType = fn("TypeCheckerApi.expectedAndRealType")(function* (so
|
|
|
1255
1255
|
if (expectedType) {
|
|
1256
1256
|
result.push([body, expectedType, body, realType]);
|
|
1257
1257
|
}
|
|
1258
|
-
ts.forEachChild(
|
|
1258
|
+
ts.forEachChild(body, appendNodeToVisit);
|
|
1259
1259
|
continue;
|
|
1260
1260
|
} else if (ts.isArrowFunction(node) && (node.typeParameters || []).length > 0 && ts.isExpression(node.body)) {
|
|
1261
1261
|
const body = node.body;
|
|
@@ -1264,7 +1264,7 @@ var expectedAndRealType = fn("TypeCheckerApi.expectedAndRealType")(function* (so
|
|
|
1264
1264
|
if (isSome2(expectedType)) {
|
|
1265
1265
|
result.push([body, expectedType.value, body, realType]);
|
|
1266
1266
|
}
|
|
1267
|
-
ts.forEachChild(
|
|
1267
|
+
ts.forEachChild(body, appendNodeToVisit);
|
|
1268
1268
|
continue;
|
|
1269
1269
|
} else if (ts.isSatisfiesExpression(node)) {
|
|
1270
1270
|
const expectedType = typeChecker.getTypeAtLocation(node.type);
|