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