TypeScript/tests/baselines/reference/semicolonsInModuleDeclarations.errors.txt
2014-09-12 13:35:07 -07:00

14 lines
477 B
Plaintext

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;