mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
592 B
Plaintext
12 lines
592 B
Plaintext
FunctionDeclaration7.ts(2,13): error TS2391: Function implementation is missing or not immediately following the declaration.
|
|
FunctionDeclaration7.ts(2,13): error TS7010: 'foo', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
|
|
|
|
==== FunctionDeclaration7.ts (2 errors) ====
|
|
namespace M {
|
|
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.
|
|
} |