TypeScript/tests/baselines/reference/exportAssignmentError.types

16 lines
449 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/exportAssignmentError.ts ===
module M {
>M : typeof M, Symbol(M,Decl(exportAssignmentError.ts,0,0))
2014-08-15 23:33:16 +02:00
export var x;
>x : any, Symbol(x,Decl(exportAssignmentError.ts,1,11))
2014-08-15 23:33:16 +02:00
}
import M2 = M;
>M2 : typeof M, Symbol(M2,Decl(exportAssignmentError.ts,2,1))
>M : typeof M, Symbol(M,Decl(exportAssignmentError.ts,0,0))
2014-08-15 23:33:16 +02:00
export = M2; // should not error
>M2 : typeof M, Symbol(M2,Decl(exportAssignmentError.ts,2,1))
2014-08-15 23:33:16 +02:00