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

16 lines
947 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts(1,14): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts(4,1): error TS2304: Cannot find name 'B'.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts(4,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
2014-07-13 01:04:16 +02:00
==== 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.
}
2014-07-13 01:04:16 +02:00
export = B;
~~~~~~~~~~~
!!! error TS2304: Cannot find name 'B'.
2014-07-13 01:04:16 +02:00
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.