7 lines
No EOL
269 B
Text
7 lines
No EOL
269 B
Text
==== tests/cases/compiler/classOverloadForFunction2.ts (2 errors) ====
|
|
function bar(): string;
|
|
~~~
|
|
!!! Function implementation is missing or not immediately following the declaration.
|
|
class bar {}
|
|
~~~
|
|
!!! Duplicate identifier 'bar'. |