8 lines
No EOL
223 B
Text
8 lines
No EOL
223 B
Text
==== tests/cases/compiler/incorrectClassOverloadChain.ts (1 errors) ====
|
|
class C {
|
|
foo(): string;
|
|
foo(x): number;
|
|
~~~~~~~~~~~~~~~
|
|
!!! Function implementation expected.
|
|
x = 1;
|
|
} |