18 lines
No EOL
480 B
Text
18 lines
No EOL
480 B
Text
==== tests/cases/compiler/mergedModuleDeclarationCodeGen.ts (1 errors) ====
|
|
export module X {
|
|
~
|
|
!!! Cannot compile external modules unless the '--module' flag is provided.
|
|
export module Y {
|
|
class A {
|
|
constructor(Y: any) {
|
|
new B();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
export module X {
|
|
export module Y {
|
|
export class B {
|
|
}
|
|
}
|
|
} |