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

5 lines
191 B
Plaintext

==== tests/cases/compiler/FunctionDeclaration4.ts (1 errors) ====
function foo();
function bar() { }
~~~
!!! error TS2389: Function implementation name must be 'foo'.