TypeScript/tests/baselines/reference/cloduleSplitAcrossFiles.errors.txt
Anders Hejlsberg bc0be761cd New baselines.
2014-07-16 16:15:10 -07:00

10 lines
356 B
Plaintext

==== tests/cases/compiler/cloduleSplitAcrossFiles_class.ts (0 errors) ====
class D { }
==== tests/cases/compiler/cloduleSplitAcrossFiles_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;