@effect/language-service 0.62.4 → 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 +3 -1
- package/cli.js.map +1 -1
- package/effect-lsp-patch-utils.js +3 -1
- package/effect-lsp-patch-utils.js.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +3 -1
- package/transform.js.map +1 -1
|
@@ -1687,7 +1687,9 @@ function makeTypeScriptUtils(ts) {
|
|
|
1687
1687
|
} else {
|
|
1688
1688
|
return;
|
|
1689
1689
|
}
|
|
1690
|
-
|
|
1690
|
+
const importDeclaration = ts.findAncestor(accessedObject, ts.isImportDeclaration);
|
|
1691
|
+
if (importDeclaration) return;
|
|
1692
|
+
return { accessedObject, outerNode, replacementSpan, insideImportDeclaration: !!importDeclaration };
|
|
1691
1693
|
}
|
|
1692
1694
|
function parseDataForExtendsClassCompletion(sourceFile, position) {
|
|
1693
1695
|
const maybeInfos = parseAccessedExpressionForCompletion(sourceFile, position);
|