9 lines
299 B
Text
9 lines
299 B
Text
|
==== tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration5.ts (1 errors) ====
|
||
|
module M1 {
|
||
|
declare module M2 {
|
||
|
declare module M3 {
|
||
|
~~~~~~~
|
||
|
!!! A 'declare' modifier cannot be used in an already ambient context.
|
||
|
}
|
||
|
}
|
||
|
}
|