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

15 lines
695 B
Plaintext
Raw Normal View History

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;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
2014-07-13 01:04:16 +02:00
export = b;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
2014-07-13 01:04:16 +02:00
}