2015-04-27 03:31:47 +02:00
|
|
|
tests/cases/compiler/ExportAssignment7.ts(1,14): error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/ExportAssignment7.ts(4,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
|
2015-03-02 21:21:53 +01:00
|
|
|
tests/cases/compiler/ExportAssignment7.ts(4,10): error TS2304: Cannot find name 'B'.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/ExportAssignment7.ts (3 errors) ====
|
|
|
|
export class C {
|
2014-07-19 02:30:06 +02:00
|
|
|
~
|
2015-04-27 03:31:47 +02:00
|
|
|
!!! error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
2014-07-19 02:30:06 +02:00
|
|
|
}
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
export = B;
|
|
|
|
~~~~~~~~~~~
|
2015-03-02 21:21:53 +01:00
|
|
|
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
|
|
|
|
~
|
|
|
|
!!! error TS2304: Cannot find name 'B'.
|