|
| 1 | +=== /a.ts === |
| 2 | +export class A { a!: string } |
| 3 | +>A : Symbol(A, Decl(a.ts, 0, 0)) |
| 4 | +>a : Symbol(A.a, Decl(a.ts, 0, 16)) |
| 5 | + |
| 6 | +export class B { b!: number } |
| 7 | +>B : Symbol(B, Decl(a.ts, 0, 29)) |
| 8 | +>b : Symbol(B.b, Decl(a.ts, 1, 16)) |
| 9 | + |
| 10 | +export type C<T> = T; |
| 11 | +>C : Symbol(C, Decl(a.ts, 1, 29)) |
| 12 | +>T : Symbol(T, Decl(a.ts, 2, 14)) |
| 13 | +>T : Symbol(T, Decl(a.ts, 2, 14)) |
| 14 | + |
| 15 | +export const Value = {}; |
| 16 | +>Value : Symbol(Value, Decl(a.ts, 3, 12)) |
| 17 | + |
| 18 | +=== /b.ts === |
| 19 | +import type * as types from './a'; |
| 20 | +>types : Symbol(types, Decl(b.ts, 0, 11)) |
| 21 | + |
| 22 | +types; |
| 23 | +types.Value; |
| 24 | +let v: types.Value; |
| 25 | +>v : Symbol(v, Decl(b.ts, 3, 3)) |
| 26 | +>types : Symbol(types, Decl(b.ts, 0, 11)) |
| 27 | + |
| 28 | +const a: types.A = {}; |
| 29 | +>a : Symbol(a, Decl(b.ts, 4, 5)) |
| 30 | +>types : Symbol(types, Decl(b.ts, 0, 11)) |
| 31 | +>A : Symbol(types.A) |
| 32 | + |
| 33 | +const b: types.B = {}; |
| 34 | +>b : Symbol(b, Decl(b.ts, 5, 5)) |
| 35 | +>types : Symbol(types, Decl(b.ts, 0, 11)) |
| 36 | +>B : Symbol(types.B) |
| 37 | + |
| 38 | +const c: types.C<string> = ""; |
| 39 | +>c : Symbol(c, Decl(b.ts, 6, 5)) |
| 40 | +>types : Symbol(types, Decl(b.ts, 0, 11)) |
| 41 | +>C : Symbol(types.C, Decl(a.ts, 1, 29)) |
| 42 | + |
0 commit comments