6 lines
275 B
Plaintext
6 lines
275 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration1.ts (1 errors) ====
|
|
declare module M {
|
|
declare function F();
|
|
~~~~~~~
|
|
!!! error TS1038: A 'declare' modifier cannot be used in an already ambient context.
|
|
} |