@effect/language-service 0.62.3 → 0.62.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/cli.js CHANGED
@@ -30793,7 +30793,9 @@ function makeTypeScriptUtils(ts) {
30793
30793
  } else {
30794
30794
  return;
30795
30795
  }
30796
- return { accessedObject, outerNode, replacementSpan };
30796
+ const importDeclaration = ts.findAncestor(accessedObject, ts.isImportDeclaration);
30797
+ if (importDeclaration) return;
30798
+ return { accessedObject, outerNode, replacementSpan, insideImportDeclaration: !!importDeclaration };
30797
30799
  }
30798
30800
  function parseDataForExtendsClassCompletion(sourceFile, position) {
30799
30801
  const maybeInfos = parseAccessedExpressionForCompletion(sourceFile, position);