TypeScript/tests/baselines/reference/exportAssignmentAndDeclaration.errors.txt

13 lines
352 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/externalModules/exportAssignmentAndDeclaration.ts (1 errors) ====
export enum E1 {
A,B,C
}
class C1 {
}
// Invalid, as there is already an exported member.
export = C1;
~~~~~~~~~~~~
!!! An export assignment cannot be used in a module with other exported elements.