20 lines
473 B
Plaintext
20 lines
473 B
Plaintext
=== tests/cases/compiler/consumer.ts ===
|
|
import x = require('./foo');
|
|
>x : Symbol(x, Decl(consumer.ts, 0, 0))
|
|
|
|
x.Y // .ts should be picked
|
|
>x.Y : Symbol(x.Y, Decl(foo.ts, 1, 14))
|
|
>x : Symbol(x, Decl(consumer.ts, 0, 0))
|
|
>Y : Symbol(x.Y, Decl(foo.ts, 1, 14))
|
|
|
|
=== tests/cases/compiler/foo.ts ===
|
|
module M2 {
|
|
>M2 : Symbol(M2, Decl(foo.ts, 0, 0))
|
|
|
|
export var Y = 1;
|
|
>Y : Symbol(Y, Decl(foo.ts, 1, 14))
|
|
}
|
|
export = M2
|
|
>M2 : Symbol(M2, Decl(foo.ts, 0, 0))
|
|
|