TypeScript/tests/baselines/reference/exportsAndImports2-amd.types

29 lines
858 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";
2015-04-13 23:01:57 +02:00
>x : string, Symbol(x, Decl(t1.ts, 1, 10))
2015-04-13 21:36:11 +02:00
>"x" : string
2015-03-22 20:19:38 +01:00
export var y = "y";
2015-04-13 23:01:57 +02:00
>y : string, Symbol(y, Decl(t1.ts, 2, 10))
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";
2015-04-13 23:01:57 +02:00
>x : string, Symbol(y, Decl(t2.ts, 0, 8))
>y : string, Symbol(y, Decl(t2.ts, 0, 8))
>y : string, Symbol(x, Decl(t2.ts, 0, 16))
>x : string, Symbol(x, Decl(t2.ts, 0, 16))
2015-03-22 20:19:38 +01:00
=== tests/cases/conformance/es6/modules/t3.ts ===
import { x, y } from "./t1";
2015-04-13 23:01:57 +02:00
>x : string, Symbol(x, Decl(t3.ts, 0, 8))
>y : string, Symbol(y, Decl(t3.ts, 0, 11))
2015-03-22 20:19:38 +01:00
export { x as y, y as x };
2015-04-13 23:01:57 +02:00
>x : string, Symbol(y, Decl(t3.ts, 1, 8))
>y : string, Symbol(y, Decl(t3.ts, 1, 8))
>y : string, Symbol(x, Decl(t3.ts, 1, 16))
>x : string, Symbol(x, Decl(t3.ts, 1, 16))
2015-03-22 20:19:38 +01:00