TypeScript/tests/baselines/reference/exportsAndImports2.types

29 lines
491 B
Plaintext
Raw Normal View History

2015-03-22 20:19:38 +01:00
=== tests/cases/conformance/es6/modules/t1.ts ===
export var x = "x";
>x : string
2015-04-13 21:36:11 +02:00
>"x" : string
2015-03-22 20:19:38 +01:00
export var y = "y";
>y : string
2015-04-13 21:36:11 +02:00
>"y" : string
2015-03-22 20:19:38 +01:00
=== tests/cases/conformance/es6/modules/t2.ts ===
export { x as y, y as x } from "./t1";
>x : string
>y : string
>y : string
>x : string
2015-03-22 20:19:38 +01:00
=== tests/cases/conformance/es6/modules/t3.ts ===
import { x, y } from "./t1";
>x : string
>y : string
2015-03-22 20:19:38 +01:00
export { x as y, y as x };
>x : string
>y : string
>y : string
>x : string
2015-03-22 20:19:38 +01:00