@effect/language-service 0.31.0 → 0.31.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
@@ -10492,7 +10492,7 @@ function layerInfo(sourceFile, position, quickInfo2) {
10492
10492
  const providesNode = findInnermostGraphEdge(rootNode, "rout", providesKey);
10493
10493
  appendInfo(providesNode, graphCtx.services.get(providesKey), "provided");
10494
10494
  }
10495
- lines.push("");
10495
+ if (lines.length > 0) lines.push("");
10496
10496
  for (const requiresKey of rootNode.rin) {
10497
10497
  const requiresNode = findInnermostGraphEdge(rootNode, "rin", requiresKey);
10498
10498
  appendInfo(requiresNode, graphCtx.services.get(requiresKey), "required");
@@ -10506,6 +10506,7 @@ function layerInfo(sourceFile, position, quickInfo2) {
10506
10506
  linkParts.push({ kind: "link", text: "}" });
10507
10507
  linkParts.push({ kind: "space", text: "\n" });
10508
10508
  }
10509
+ if (lines.length === 0) return linkParts;
10509
10510
  return [
10510
10511
  {
10511
10512
  kind: "text",