8 lines
No EOL
258 B
Text
8 lines
No EOL
258 B
Text
==== tests/cases/compiler/incorrectClassOverloadChain.ts (1 errors) ====
|
|
class C {
|
|
foo(): string;
|
|
foo(x): number;
|
|
~~~
|
|
!!! Function implementation is missing or not immediately following the declaration.
|
|
x = 1;
|
|
} |