7 lines
333 B
Plaintext
7 lines
333 B
Plaintext
==== 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.
|
|
} |