mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
435 B
Plaintext
19 lines
435 B
Plaintext
//// [tests/cases/conformance/salsa/jsContainerMergeTsDeclaration2.ts] ////
|
|
|
|
=== a.d.ts ===
|
|
declare namespace C {
|
|
>C : Symbol(C, Decl(a.d.ts, 0, 0))
|
|
|
|
function bar(): void
|
|
>bar : Symbol(bar, Decl(a.d.ts, 0, 21))
|
|
}
|
|
=== b.js ===
|
|
C.prototype = {};
|
|
>C : Symbol(C, Decl(a.d.ts, 0, 0))
|
|
|
|
C.bar = 2;
|
|
>C.bar : Symbol(C.bar, Decl(a.d.ts, 0, 21))
|
|
>C : Symbol(C, Decl(a.d.ts, 0, 0))
|
|
>bar : Symbol(C.bar, Decl(a.d.ts, 0, 21))
|
|
|