1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
=== tests/cases/compiler/declFileTypeAnnotationTypeAlias.ts ===
module M {
>M : Symbol(M, Decl(declFileTypeAnnotationTypeAlias.ts, 0, 0), Decl(declFileTypeAnnotationTypeAlias.ts, 22, 1))
export type Value = string | number | boolean;
>Value : Symbol(Value, Decl(declFileTypeAnnotationTypeAlias.ts, 1, 10))
export var x: Value;
>x : Symbol(x, Decl(declFileTypeAnnotationTypeAlias.ts, 3, 14))
>Value : Symbol(Value, Decl(declFileTypeAnnotationTypeAlias.ts, 1, 10))
export class c {
>c : Symbol(c, Decl(declFileTypeAnnotationTypeAlias.ts, 3, 24))
}
export type C = c;
>C : Symbol(C, Decl(declFileTypeAnnotationTypeAlias.ts, 6, 5))
>c : Symbol(c, Decl(declFileTypeAnnotationTypeAlias.ts, 3, 24))
export module m {
>m : Symbol(m, Decl(declFileTypeAnnotationTypeAlias.ts, 8, 22))
export class c {
>c : Symbol(c, Decl(declFileTypeAnnotationTypeAlias.ts, 10, 21))
}
}
export type MC = m.c;
>MC : Symbol(MC, Decl(declFileTypeAnnotationTypeAlias.ts, 13, 5))
>m : Symbol(m, Decl(declFileTypeAnnotationTypeAlias.ts, 8, 22))
>c : Symbol(m.c, Decl(declFileTypeAnnotationTypeAlias.ts, 10, 21))
export type fc = () => c;
>fc : Symbol(fc, Decl(declFileTypeAnnotationTypeAlias.ts, 15, 25))
>c : Symbol(c, Decl(declFileTypeAnnotationTypeAlias.ts, 3, 24))
}
interface Window {
>Window : Symbol(Window, Decl(declFileTypeAnnotationTypeAlias.ts, 18, 1))
someMethod();
>someMethod : Symbol(Window.someMethod, Decl(declFileTypeAnnotationTypeAlias.ts, 20, 18))
}
module M {
>M : Symbol(M, Decl(declFileTypeAnnotationTypeAlias.ts, 0, 0), Decl(declFileTypeAnnotationTypeAlias.ts, 22, 1))
export type W = Window | string;
>W : Symbol(W, Decl(declFileTypeAnnotationTypeAlias.ts, 24, 10))
>Window : Symbol(Window, Decl(declFileTypeAnnotationTypeAlias.ts, 18, 1))
export module N {
>N : Symbol(N, Decl(declFileTypeAnnotationTypeAlias.ts, 25, 36))
export class Window { }
>Window : Symbol(Window, Decl(declFileTypeAnnotationTypeAlias.ts, 26, 21))
export var p: W;
>p : Symbol(p, Decl(declFileTypeAnnotationTypeAlias.ts, 28, 18))
>W : Symbol(W, Decl(declFileTypeAnnotationTypeAlias.ts, 24, 10))
}
}
|