TypeScript/tests/baselines/reference/parserExportAssignment7.errors.txt
2014-09-11 16:11:08 -07:00

11 lines
443 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts (3 errors) ====
export class C {
~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
}
export = B;
~~~~~~~~~~~
!!! error TS2304: Cannot find name 'B'.
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.