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