25 lines
No EOL
1.4 KiB
Text
25 lines
No EOL
1.4 KiB
Text
tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType6_moduleE.ts(1,1): error TS2303: Circular definition of import alias 'self'.
|
|
|
|
|
|
==== tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType6_moduleA.ts (0 errors) ====
|
|
import moduleC = require("recursiveExportAssignmentAndFindAliasedType6_moduleC");
|
|
import ClassB = require("recursiveExportAssignmentAndFindAliasedType6_moduleB");
|
|
export var b: ClassB; // This should result in type ClassB
|
|
==== tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType6_moduleC.ts (0 errors) ====
|
|
import self = require("recursiveExportAssignmentAndFindAliasedType6_moduleD");
|
|
export = self;
|
|
|
|
==== tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType6_moduleD.ts (0 errors) ====
|
|
import self = require("recursiveExportAssignmentAndFindAliasedType6_moduleE");
|
|
export = self;
|
|
|
|
==== tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType6_moduleE.ts (1 errors) ====
|
|
import self = require("recursiveExportAssignmentAndFindAliasedType6_moduleC");
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2303: Circular definition of import alias 'self'.
|
|
export = self;
|
|
|
|
==== tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType6_moduleB.ts (0 errors) ====
|
|
class ClassB { }
|
|
export = ClassB;
|
|
|