TypeScript/tests/baselines/reference/funduleSplitAcrossFiles.errors.txt

13 lines
564 B
Plaintext
Raw Normal View History

2015-04-27 03:31:47 +02:00
tests/cases/compiler/funduleSplitAcrossFiles_module.ts(1,8): error TS2433: A namespace 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 {
2014-07-17 01:15:10 +02:00
~
2015-04-27 03:31:47 +02:00
!!! error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged
export var y = "hi";
}
D.y;