TypeScript/tests/baselines/reference/parserFunctionDeclaration2.errors.txt
2014-09-11 16:11:08 -07:00

5 lines
268 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration2.ts (1 errors) ====
declare function Foo() {
~
!!! error TS1037: A function implementation cannot be declared in an ambient context.
}