7 lines
No EOL
333 B
Text
7 lines
No EOL
333 B
Text
==== tests/cases/conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration2.d.ts (2 errors) ====
|
|
function F() {
|
|
~~~~~~~~
|
|
!!! A 'declare' modifier is required for a top level declaration in a .d.ts file.
|
|
~
|
|
!!! A function implementation cannot be declared in an ambient context.
|
|
} |