TypeScript/tests/baselines/reference/funduleSplitAcrossFiles.errors.txt
2014-09-12 13:35:07 -07:00

13 lines
558 B
Plaintext

tests/cases/compiler/funduleSplitAcrossFiles_module.ts(1,8): error TS2433: A module declaration cannot be in a different file from a class or function with which it is merged
==== tests/cases/compiler/funduleSplitAcrossFiles_function.ts (0 errors) ====
function D() { }
==== tests/cases/compiler/funduleSplitAcrossFiles_module.ts (1 errors) ====
module D {
~
!!! error TS2433: 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;