7 lines
269 B
Plaintext
7 lines
269 B
Plaintext
==== 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'. |