TypeScript/tests/baselines/reference/parserModuleDeclaration3.errors.txt

10 lines
460 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration3.ts(2,3): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration3.ts (1 errors) ====
declare module M {
declare module M2 {
~~~~~~~
!!! error TS1038: A 'declare' modifier cannot be used in an already ambient context.
2014-07-13 01:04:16 +02:00
}
}