@effect/language-service 0.58.0 → 0.58.1

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
@@ -4328,6 +4328,10 @@ var anyUnknownInErrorContext = createDiagnostic({
4328
4328
  }
4329
4329
  ts.forEachChild(node, appendNodeToVisit);
4330
4330
  if (!ts.isExpression(node)) continue;
4331
+ if (node.parent && ts.isJsxSelfClosingElement(node.parent) && node.parent.tagName === node) continue;
4332
+ if (node.parent && ts.isJsxOpeningElement(node.parent) && node.parent.tagName === node) continue;
4333
+ if (node.parent && ts.isJsxClosingElement(node.parent) && node.parent.tagName === node) continue;
4334
+ if (node.parent && ts.isJsxAttribute(node.parent) && node.parent.name === node) continue;
4331
4335
  let type = typeChecker.getTypeAtLocation(node);
4332
4336
  if (ts.isCallExpression(node)) {
4333
4337
  const resolvedSignature = typeChecker.getResolvedSignature(node);