Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/checker/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -15800,7 +15800,7 @@ func (c *Checker) resolveAlias(symbol *ast.Symbol) *ast.Symbol {
}

func (c *Checker) resolveIndirectionAlias(source *ast.Symbol, target *ast.Symbol) *ast.Symbol {
result := c.resolveAlias(target)
result := c.getMergedSymbol(c.resolveAlias(target))
if targetLinks := c.aliasSymbolLinks.Get(target); targetLinks.typeOnlyDeclaration != nil {
if sourceLinks := c.aliasSymbolLinks.Get(source); sourceLinks.typeOnlyDeclaration == nil {
sourceLinks.typeOnlyDeclaration = targetLinks.typeOnlyDeclaration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var t = p.x;

=== node_modules/math2d/index.d.ts ===
export as namespace Math2d;
>Math2d : typeof import("node_modules/math2d/index")
>Math2d : typeof import("node_modules/math2d/index.d.ts")

export = M2D;
>M2D : typeof import("node_modules/math2d/index.d.ts")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,7 @@

var t = p.x;
>t : number
@@= skipped -12, +12 lines =@@

=== node_modules/math2d/index.d.ts ===
export as namespace Math2d;
->Math2d : typeof import("node_modules/math2d/index.d.ts")
+>Math2d : typeof import("node_modules/math2d/index")

export = M2D;
>M2D : typeof import("node_modules/math2d/index.d.ts")
@@= skipped -53, +53 lines =@@
@@= skipped -65, +65 lines =@@
// Add a method to the class
interface Vector {
reverse(): Math2d.Point;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var t = p.x;

=== node_modules/math2d/index.d.ts ===
export as namespace Math2d;
>Math2d : typeof import("node_modules/math2d/index")
>Math2d : typeof import("node_modules/math2d/index.d.ts")

export = M2D;
>M2D : typeof import("node_modules/math2d/index.d.ts")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
--- old.umd-augmentation-4.types
+++ new.umd-augmentation-4.types
@@= skipped -45, +45 lines =@@

=== node_modules/math2d/index.d.ts ===
export as namespace Math2d;
->Math2d : typeof import("node_modules/math2d/index.d.ts")
+>Math2d : typeof import("node_modules/math2d/index")

export = M2D;
>M2D : typeof import("node_modules/math2d/index.d.ts")
@@= skipped -53, +53 lines =@@
@@= skipped -98, +98 lines =@@
// Add a method to the class
interface Vector {
reverse(): Math2d.Point;
Expand Down