25 lines
888 B
Text
25 lines
888 B
Text
=== tests/cases/compiler/exportAssignmentInterface_B.ts ===
|
|
import I1 = require("exportAssignmentInterface_A");
|
|
>I1 : Symbol(I1, Decl(exportAssignmentInterface_B.ts, 0, 0))
|
|
|
|
var i: I1;
|
|
>i : Symbol(i, Decl(exportAssignmentInterface_B.ts, 2, 3))
|
|
>I1 : Symbol(I1, Decl(exportAssignmentInterface_B.ts, 0, 0))
|
|
|
|
var n: number = i.p1;
|
|
>n : Symbol(n, Decl(exportAssignmentInterface_B.ts, 4, 3))
|
|
>i.p1 : Symbol(I1.p1, Decl(exportAssignmentInterface_A.ts, 0, 13))
|
|
>i : Symbol(i, Decl(exportAssignmentInterface_B.ts, 2, 3))
|
|
>p1 : Symbol(I1.p1, Decl(exportAssignmentInterface_A.ts, 0, 13))
|
|
|
|
=== tests/cases/compiler/exportAssignmentInterface_A.ts ===
|
|
interface A {
|
|
>A : Symbol(A, Decl(exportAssignmentInterface_A.ts, 0, 0))
|
|
|
|
p1: number;
|
|
>p1 : Symbol(p1, Decl(exportAssignmentInterface_A.ts, 0, 13))
|
|
}
|
|
|
|
export = A;
|
|
>A : Symbol(A, Decl(exportAssignmentInterface_A.ts, 0, 0))
|
|
|