mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
557 B
Plaintext
10 lines
557 B
Plaintext
FunctionDeclaration3.ts(1,10): error TS2391: Function implementation is missing or not immediately following the declaration.
|
|
FunctionDeclaration3.ts(1,10): error TS7010: 'foo', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
|
|
|
|
==== FunctionDeclaration3.ts (2 errors) ====
|
|
function foo();
|
|
~~~
|
|
!!! error TS2391: Function implementation is missing or not immediately following the declaration.
|
|
~~~
|
|
!!! error TS7010: 'foo', which lacks return-type annotation, implicitly has an 'any' return type. |