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