TypeScript/tests/baselines/reference/declFileInternalAliases.types

35 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/declFileInternalAliases.ts ===
module m {
2015-04-13 23:01:57 +02:00
>m : typeof m, Symbol(m, Decl(declFileInternalAliases.ts, 0, 0))
2014-08-15 23:33:16 +02:00
export class c {
2015-04-13 23:01:57 +02:00
>c : c, Symbol(c, Decl(declFileInternalAliases.ts, 0, 10))
2014-08-15 23:33:16 +02:00
}
}
module m1 {
2015-04-13 23:01:57 +02:00
>m1 : typeof m1, Symbol(m1, Decl(declFileInternalAliases.ts, 3, 1))
2014-08-15 23:33:16 +02:00
import x = m.c;
2015-04-13 23:01:57 +02:00
>x : typeof x, Symbol(x, Decl(declFileInternalAliases.ts, 4, 11))
>m : typeof m, Symbol(m, Decl(declFileInternalAliases.ts, 0, 0))
>c : x, Symbol(x, Decl(declFileInternalAliases.ts, 0, 10))
2014-08-15 23:33:16 +02:00
export var d = new x(); // emit the type as m.c
2015-04-13 23:01:57 +02:00
>d : x, Symbol(d, Decl(declFileInternalAliases.ts, 6, 14))
2014-08-25 19:36:12 +02:00
>new x() : x
2015-04-13 23:01:57 +02:00
>x : typeof x, Symbol(x, Decl(declFileInternalAliases.ts, 4, 11))
2014-08-15 23:33:16 +02:00
}
module m2 {
2015-04-13 23:01:57 +02:00
>m2 : typeof m2, Symbol(m2, Decl(declFileInternalAliases.ts, 7, 1))
2014-08-15 23:33:16 +02:00
export import x = m.c;
2015-04-13 23:01:57 +02:00
>x : typeof x, Symbol(x, Decl(declFileInternalAliases.ts, 8, 11))
>m : typeof m, Symbol(m, Decl(declFileInternalAliases.ts, 0, 0))
>c : x, Symbol(x, Decl(declFileInternalAliases.ts, 0, 10))
2014-08-15 23:33:16 +02:00
export var d = new x(); // emit the type as x
2015-04-13 23:01:57 +02:00
>d : x, Symbol(d, Decl(declFileInternalAliases.ts, 10, 14))
2014-08-25 19:36:12 +02:00
>new x() : x
2015-04-13 23:01:57 +02:00
>x : typeof x, Symbol(x, Decl(declFileInternalAliases.ts, 8, 11))
2014-08-15 23:33:16 +02:00
}