2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/exportAssignmentInterface_B.ts ===
|
|
|
|
import I1 = require("exportAssignmentInterface_A");
|
2014-08-28 21:40:58 +02:00
|
|
|
>I1 : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var i: I1;
|
2014-08-25 19:36:12 +02:00
|
|
|
>i : I1
|
|
|
|
>I1 : I1
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var n: number = i.p1;
|
|
|
|
>n : number
|
|
|
|
>i.p1 : number
|
2014-08-25 19:36:12 +02:00
|
|
|
>i : I1
|
2014-08-15 23:33:16 +02:00
|
|
|
>p1 : number
|
|
|
|
|
|
|
|
=== tests/cases/compiler/exportAssignmentInterface_A.ts ===
|
|
|
|
interface A {
|
|
|
|
>A : A
|
|
|
|
|
|
|
|
p1: number;
|
|
|
|
>p1 : number
|
|
|
|
}
|
|
|
|
|
|
|
|
export = A;
|
|
|
|
>A : A
|
|
|
|
|