9 lines
461 B
Plaintext
9 lines
461 B
Plaintext
tests/cases/conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration1.ts(2,3): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
|
|
|
|
|
|
==== 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.
|
|
} |