16 lines
216 B
Text
16 lines
216 B
Text
|
=== tests/cases/compiler/exportAssignmentError.ts ===
|
||
|
module M {
|
||
|
>M : typeof M
|
||
|
|
||
|
export var x;
|
||
|
>x : any
|
||
|
}
|
||
|
|
||
|
import M2 = M;
|
||
|
>M2 : typeof M
|
||
|
>M : typeof M
|
||
|
|
||
|
export = M2; // should not error
|
||
|
>M2 : typeof M
|
||
|
|