TypeScript/tests/baselines/reference/systemModule17.types

96 lines
1.1 KiB
Plaintext

=== tests/cases/compiler/f1.ts ===
export class A {}
>A : A
export interface I {}
>I : I
=== tests/cases/compiler/f2.ts ===
var x = 1;
>x : number
>1 : number
interface I { }
>I : I
namespace N {
>N : typeof N
export var x = 1;
>x : number
>1 : number
export interface I { }
>I : 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