13 lines
No EOL
550 B
Text
13 lines
No EOL
550 B
Text
tests/cases/compiler/cloduleSplitAcrossFiles_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/cloduleSplitAcrossFiles_class.ts (0 errors) ====
|
|
class D { }
|
|
|
|
==== tests/cases/compiler/cloduleSplitAcrossFiles_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; |