mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
526 B
Plaintext
21 lines
526 B
Plaintext
//// [tests/cases/conformance/salsa/jsContainerMergeTsDeclaration.ts] ////
|
|
|
|
=== a.js ===
|
|
var /*1*/x = function foo() {
|
|
>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(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(b.ts, 0, 3))
|
|
|
|
return 1;
|
|
}();
|
|
|