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
|
|
|
~
|
2014-07-13 01:04:16 +02:00
|
|
|
!!! Cannot compile external 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;
|
|
|
|
~~~~~~~~~~~
|
|
|
|
!!! An export assignment cannot be used in a module with other exported elements.
|
|
|
|
~~~~~~~~~~~
|
|
|
|
!!! Cannot find name 'B'.
|