36 lines
656 B
Text
36 lines
656 B
Text
=== tests/cases/conformance/es6/modules/t1.ts ===
|
|
|
|
let as = 100;
|
|
>as : number
|
|
>100 : number
|
|
|
|
export { as as return, as };
|
|
>as : number
|
|
>return : number
|
|
>as : number
|
|
|
|
=== tests/cases/conformance/es6/modules/t2.ts ===
|
|
import * as as from "./t1";
|
|
>as : typeof as
|
|
|
|
var x = as.as;
|
|
>x : number
|
|
>as.as : number
|
|
>as : typeof as
|
|
>as : number
|
|
|
|
var y = as.return;
|
|
>y : number
|
|
>as.return : number
|
|
>as : typeof as
|
|
>return : number
|
|
|
|
=== tests/cases/conformance/es6/modules/t3.ts ===
|
|
import { as as as } from "./t1";
|
|
>as : number
|
|
>as : number
|
|
|
|
=== tests/cases/conformance/es6/modules/t4.ts ===
|
|
import { as } from "./t1";
|
|
>as : number
|
|
|