@effect/language-service 0.58.3 → 0.58.4

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
@@ -32065,7 +32065,16 @@ function make64(ts, tsUtils, typeChecker, typeCheckerUtils, program) {
32065
32065
  const moduleSymbol = typeChecker.getSymbolAtLocation(sourceFile);
32066
32066
  if (!moduleSymbol) continue;
32067
32067
  const memberSymbol = typeChecker.tryGetMemberInModuleExports(memberName, moduleSymbol);
32068
- if (memberSymbol && memberSymbol === symbol3) result.push({ memberSymbol, moduleSymbol, sourceFile });
32068
+ if (memberSymbol) {
32069
+ if (memberSymbol === symbol3) {
32070
+ result.push({ memberSymbol, moduleSymbol, sourceFile });
32071
+ } else if (memberSymbol.flags & ts.SymbolFlags.Alias) {
32072
+ const aliased = typeChecker.getAliasedSymbol(memberSymbol);
32073
+ if (aliased === symbol3) {
32074
+ result.push({ memberSymbol, moduleSymbol, sourceFile });
32075
+ }
32076
+ }
32077
+ }
32069
32078
  }
32070
32079
  if (result.length > 0) {
32071
32080
  return result;
@@ -33467,7 +33476,7 @@ var annotate3 = createCodegen({
33467
33476
  const initializerTypeNode = fromNullable(typeCheckerUtils.typeToSimplifiedTypeNode(
33468
33477
  initializerType,
33469
33478
  enclosingNode,
33470
- ts.NodeBuilderFlags.NoTruncation
33479
+ ts.NodeBuilderFlags.NoTruncation | ts.NodeBuilderFlags.IgnoreErrors
33471
33480
  )).pipe(
33472
33481
  getOrUndefined
33473
33482
  );