@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/cli.js +4 -0
- package/cli.js.map +1 -1
- package/effect-lsp-patch-utils.js +4 -0
- package/effect-lsp-patch-utils.js.map +1 -1
- package/index.js +4 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +4 -0
- package/transform.js.map +1 -1
package/cli.js
CHANGED
|
@@ -33708,6 +33708,10 @@ var anyUnknownInErrorContext = createDiagnostic({
|
|
|
33708
33708
|
}
|
|
33709
33709
|
ts.forEachChild(node, appendNodeToVisit);
|
|
33710
33710
|
if (!ts.isExpression(node)) continue;
|
|
33711
|
+
if (node.parent && ts.isJsxSelfClosingElement(node.parent) && node.parent.tagName === node) continue;
|
|
33712
|
+
if (node.parent && ts.isJsxOpeningElement(node.parent) && node.parent.tagName === node) continue;
|
|
33713
|
+
if (node.parent && ts.isJsxClosingElement(node.parent) && node.parent.tagName === node) continue;
|
|
33714
|
+
if (node.parent && ts.isJsxAttribute(node.parent) && node.parent.name === node) continue;
|
|
33711
33715
|
let type2 = typeChecker.getTypeAtLocation(node);
|
|
33712
33716
|
if (ts.isCallExpression(node)) {
|
|
33713
33717
|
const resolvedSignature = typeChecker.getResolvedSignature(node);
|