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

25 lines
821 B
Plaintext
Raw Normal View History

2015-03-21 21:18:11 +01:00
tests/cases/compiler/multipleExportAssignments.ts(13,1): error TS2300: Duplicate identifier 'export='.
tests/cases/compiler/multipleExportAssignments.ts(14,1): error TS2300: Duplicate identifier 'export='.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/multipleExportAssignments.ts (2 errors) ====
interface connectModule {
(res, req, next): void;
}
interface connectExport {
use: (mod: connectModule) => connectExport;
listen: (port: number) => void;
}
var server: {
(): connectExport;
test1: connectModule;
test2(): connectModule;
};
export = server;
~~~~~~~~~~~~~~~~
2015-03-21 21:18:11 +01:00
!!! error TS2300: Duplicate identifier 'export='.
2014-07-13 01:04:16 +02:00
export = connectExport;
~~~~~~~~~~~~~~~~~~~~~~~
2015-03-21 21:18:11 +01:00
!!! error TS2300: Duplicate identifier 'export='.
2014-07-13 01:04:16 +02:00