TypeScript/tests/baselines/reference/exportAssignmentError.types

16 lines
215 B
Plaintext

=== tests/cases/compiler/exportEqualsModule_A.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