7 lines
No EOL
257 B
Text
7 lines
No EOL
257 B
Text
==== tests/cases/conformance/parser/ecmascript5/EnumDeclarations/parserEnumDeclaration2.ts (1 errors) ====
|
|
declare module M {
|
|
declare enum E {
|
|
~~~~~~~
|
|
!!! A 'declare' modifier cannot be used in an already ambient context.
|
|
}
|
|
} |