TypeScript/tests/baselines/reference/semicolonsInModuleDeclarations.errors.txt
2014-07-12 17:30:19 -07:00

11 lines
334 B
Plaintext

==== 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;