mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
26 lines
850 B
Diff
26 lines
850 B
Diff
--- old.jsContainerMergeTsDeclaration.symbols
|
|
+++ new.jsContainerMergeTsDeclaration.symbols
|
|
@@= skipped -1, +1 lines =@@
|
|
|
|
=== a.js ===
|
|
var /*1*/x = function foo() {
|
|
->x : Symbol(x, Decl(a.js, 0, 3), Decl(a.js, 1, 1), Decl(b.ts, 0, 3))
|
|
+>x : Symbol(x, Decl(a.js, 0, 3), Decl(b.ts, 0, 3))
|
|
>foo : Symbol(foo, Decl(a.js, 0, 12))
|
|
}
|
|
x.a = function bar() {
|
|
->x.a : Symbol(x.a, Decl(a.js, 1, 1))
|
|
->x : Symbol(x, Decl(a.js, 0, 3), Decl(a.js, 1, 1), Decl(b.ts, 0, 3))
|
|
->a : Symbol(x.a, Decl(a.js, 1, 1))
|
|
+>x.a : Symbol(foo.a, Decl(a.js, 1, 1))
|
|
+>x : Symbol(x, Decl(a.js, 0, 3), Decl(b.ts, 0, 3))
|
|
+>a : Symbol(foo.a, Decl(a.js, 1, 1))
|
|
>bar : Symbol(bar, Decl(a.js, 2, 5))
|
|
}
|
|
=== b.ts ===
|
|
var x = function () {
|
|
->x : Symbol(x, Decl(a.js, 0, 3), Decl(a.js, 1, 1), Decl(b.ts, 0, 3))
|
|
+>x : Symbol(x, Decl(a.js, 0, 3), Decl(b.ts, 0, 3))
|
|
|
|
return 1;
|
|
}();
|