8 lines
247 B
Plaintext
8 lines
247 B
Plaintext
==== tests/cases/compiler/classWithOverloadImplementationOfWrongName.ts (1 errors) ====
|
|
class C {
|
|
foo(): string;
|
|
foo(x): number;
|
|
~~~~~~~~~~~~~~~
|
|
!!! Function implementation expected.
|
|
bar(x): any { }
|
|
} |