2015-01-28 01:28:28 +01:00
|
|
|
=== 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
|
|
|
|
|
2015-01-29 23:20:03 +01:00
|
|
|
export var a1 = 10;
|
|
|
|
>a1 : number
|
|
|
|
|
|
|
|
export var x1 = 10;
|
|
|
|
>x1 : number
|
|
|
|
|
2015-01-28 01:28:28 +01:00
|
|
|
=== tests/cases/compiler/es6ImportNamedImportInEs5_1.ts ===
|
|
|
|
import { } from "es6ImportNamedImportInEs5_0";
|
2015-02-08 17:13:15 +01:00
|
|
|
import { a } from "es6ImportNamedImportInEs5_0";
|
|
|
|
>a : number
|
|
|
|
|
|
|
|
import { a as b } from "es6ImportNamedImportInEs5_0";
|
|
|
|
>a : unknown
|
|
|
|
>b : number
|
|
|
|
|
|
|
|
import { x, a as y } from "es6ImportNamedImportInEs5_0";
|
|
|
|
>x : number
|
|
|
|
>a : unknown
|
|
|
|
>y : number
|
|
|
|
|
|
|
|
import { x as z, } from "es6ImportNamedImportInEs5_0";
|
|
|
|
>x : unknown
|
|
|
|
>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 : unknown
|
|
|
|
>a11 : number
|
|
|
|
>x1 : unknown
|
|
|
|
>x11 : number
|
|
|
|
|