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