TypeScript/tests/baselines/reference/es6ImportNamedImportInEs5.types
2015-02-23 16:45:39 -08:00

50 lines
988 B
Text

=== tests/cases/compiler/es6ImportNamedImportInEs5_0.ts ===
export var a = 10;
>a : number
export var x = a;
>x : number
>a : number
export var m = a;
>m : number
>a : number
export var a1 = 10;
>a1 : number
export var x1 = 10;
>x1 : number
=== tests/cases/compiler/es6ImportNamedImportInEs5_1.ts ===
import { } from "es6ImportNamedImportInEs5_0";
import { a } from "es6ImportNamedImportInEs5_0";
>a : number
import { a as b } from "es6ImportNamedImportInEs5_0";
>a : number
>b : number
import { x, a as y } from "es6ImportNamedImportInEs5_0";
>x : number
>a : number
>y : number
import { x as z, } from "es6ImportNamedImportInEs5_0";
>x : number
>z : number
import { m, } from "es6ImportNamedImportInEs5_0";
>m : number
import { a1, x1 } from "es6ImportNamedImportInEs5_0";
>a1 : number
>x1 : number
import { a1 as a11, x1 as x11 } from "es6ImportNamedImportInEs5_0";
>a1 : number
>a11 : number
>x1 : number
>x11 : number