14 lines
No EOL
477 B
Text
14 lines
No EOL
477 B
Text
tests/cases/compiler/semicolonsInModuleDeclarations.ts(2,27): error TS1036: Statements are not allowed in ambient contexts.
|
|
|
|
|
|
==== tests/cases/compiler/semicolonsInModuleDeclarations.ts (1 errors) ====
|
|
declare module ambiModule {
|
|
export interface i1 { };
|
|
~
|
|
!!! error TS1036: Statements are not allowed in ambient contexts.
|
|
export interface i2 { }
|
|
}
|
|
|
|
var n1: ambiModule.i1;
|
|
var n2: ambiModule.i2;
|
|
|