@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.
@@ -2580,7 +2580,16 @@ function make2(ts, tsUtils, typeChecker, typeCheckerUtils, program) {
2580
2580
  const moduleSymbol = typeChecker.getSymbolAtLocation(sourceFile);
2581
2581
  if (!moduleSymbol) continue;
2582
2582
  const memberSymbol = typeChecker.tryGetMemberInModuleExports(memberName, moduleSymbol);
2583
- if (memberSymbol && memberSymbol === symbol3) result.push({ memberSymbol, moduleSymbol, sourceFile });
2583
+ if (memberSymbol) {
2584
+ if (memberSymbol === symbol3) {
2585
+ result.push({ memberSymbol, moduleSymbol, sourceFile });
2586
+ } else if (memberSymbol.flags & ts.SymbolFlags.Alias) {
2587
+ const aliased = typeChecker.getAliasedSymbol(memberSymbol);
2588
+ if (aliased === symbol3) {
2589
+ result.push({ memberSymbol, moduleSymbol, sourceFile });
2590
+ }
2591
+ }
2592
+ }
2584
2593
  }
2585
2594
  if (result.length > 0) {
2586
2595
  return result;
@@ -5597,7 +5606,7 @@ var annotate = createCodegen({
5597
5606
  const initializerTypeNode = fromNullable(typeCheckerUtils.typeToSimplifiedTypeNode(
5598
5607
  initializerType,
5599
5608
  enclosingNode,
5600
- ts.NodeBuilderFlags.NoTruncation
5609
+ ts.NodeBuilderFlags.NoTruncation | ts.NodeBuilderFlags.IgnoreErrors
5601
5610
  )).pipe(
5602
5611
  getOrUndefined
5603
5612
  );