12 lines
397 B
Text
12 lines
397 B
Text
|
==== tests/cases/compiler/funduleSplitAcrossFiles_function.ts (0 errors) ====
|
||
|
function D() { }
|
||
|
|
||
|
==== tests/cases/compiler/funduleSplitAcrossFiles_module.ts (1 errors) ====
|
||
|
module D {
|
||
|
~~~~~~~~~~
|
||
|
export var y = "hi";
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
}
|
||
|
~
|
||
|
!!! Module declaration cannot be in different file from class or function with which it is merged
|
||
|
D.y;
|