15 lines
419 B
Text
15 lines
419 B
Text
=== tests/cases/compiler/exportAssignmentError.ts ===
|
|
module M {
|
|
>M : Symbol(M, Decl(exportAssignmentError.ts, 0, 0))
|
|
|
|
export var x;
|
|
>x : Symbol(x, Decl(exportAssignmentError.ts, 1, 11))
|
|
}
|
|
|
|
import M2 = M;
|
|
>M2 : Symbol(M2, Decl(exportAssignmentError.ts, 2, 1))
|
|
>M : Symbol(M, Decl(exportAssignmentError.ts, 0, 0))
|
|
|
|
export = M2; // should not error
|
|
>M2 : Symbol(M2, Decl(exportAssignmentError.ts, 2, 1))
|
|
|