2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(4,5): error TS2308: A module cannot have more than one export assignment.
|
|
|
|
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(5,5): error TS2308: A module cannot have more than one export assignment.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts (2 errors) ====
|
|
|
|
declare module "m1" {
|
|
|
|
var a: number
|
|
|
|
var b: number;
|
|
|
|
export = a;
|
|
|
|
~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2308: A module cannot have more than one export assignment.
|
2014-07-13 01:04:16 +02:00
|
|
|
export = b;
|
|
|
|
~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2308: A module cannot have more than one export assignment.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|