File: moduleSymbolMerging.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (20 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
=== tests/cases/compiler/B.ts ===
///<reference path="A.ts" />
module A { ; }
>A : Symbol(A, Decl(A.ts, 0, 0), Decl(B.ts, 0, 0))

module B {
>B : Symbol(B, Decl(B.ts, 1, 14))

	export function f(): A.I { return null; }
>f : Symbol(f, Decl(B.ts, 2, 10))
>A : Symbol(A, Decl(A.ts, 0, 0), Decl(B.ts, 0, 0))
>I : Symbol(A.I, Decl(A.ts, 0, 10))
}


=== tests/cases/compiler/A.ts ===
module A { export interface I {} }
>A : Symbol(A, Decl(A.ts, 0, 0), Decl(B.ts, 0, 0))
>I : Symbol(I, Decl(A.ts, 0, 10))