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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
=== tests/cases/compiler/f1.ts ===
export class A {}
>A : A
export interface I {}
=== tests/cases/compiler/f2.ts ===
var x = 1;
>x : number
>1 : 1
interface I { }
namespace N {
>N : typeof N
export var x = 1;
>x : number
>1 : 1
export interface I { }
}
import IX = N.x;
>IX : number
>N : typeof N
>x : number
import II = N.I;
>II : any
>N : typeof N
>I : II
import { A, A as EA, I as EI } from "f1";
>A : typeof A
>A : typeof A
>EA : typeof A
>I : any
>EI : any
export {x};
>x : number
export {x as x1};
>x : number
>x1 : number
export {I};
>I : any
export {I as I1};
>I : any
>I1 : any
export {A};
>A : typeof A
export {A as A1};
>A : typeof A
>A1 : typeof A
export {EA};
>EA : typeof A
export {EA as EA1};
>EA : typeof A
>EA1 : typeof A
export {EI };
>EI : any
export {EI as EI1};
>EI : any
>EI1 : any
export {IX};
>IX : number
export {IX as IX1};
>IX : number
>IX1 : number
export {II};
>II : any
export {II as II1};
>II : any
>II1 : any
|