27 lines
741 B
Text
27 lines
741 B
Text
=== tests/cases/compiler/a.ts ===
|
|
/// <reference path="b.ts" />
|
|
import ITest = require('ITest');
|
|
>ITest : Symbol(ITest, Decl(a.ts, 0, 0))
|
|
|
|
var testData: ITest[];
|
|
>testData : Symbol(testData, Decl(a.ts, 2, 3))
|
|
>ITest : Symbol(ITest, Decl(a.ts, 0, 0))
|
|
|
|
var p = testData[0].name;
|
|
>p : Symbol(p, Decl(a.ts, 3, 3))
|
|
>testData[0].name : Symbol(ITest.name, Decl(b.ts, 1, 20))
|
|
>testData : Symbol(testData, Decl(a.ts, 2, 3))
|
|
>name : Symbol(ITest.name, Decl(b.ts, 1, 20))
|
|
|
|
=== tests/cases/compiler/b.ts ===
|
|
declare module "ITest" {
|
|
interface Name {
|
|
>Name : Symbol(Name, Decl(b.ts, 0, 24))
|
|
|
|
name: string;
|
|
>name : Symbol(name, Decl(b.ts, 1, 20))
|
|
}
|
|
export = Name;
|
|
>Name : Symbol(Name, Decl(b.ts, 0, 24))
|
|
}
|
|
|