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