TypeScript/tests/baselines/reference/parserFunctionDeclaration2.errors.txt

5 lines
254 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration2.ts (1 errors) ====
declare function Foo() {
~
!!! A function implementation cannot be declared in an ambient context.
}