10 lines
No EOL
300 B
Text
10 lines
No EOL
300 B
Text
==== tests/cases/compiler/classWithOverloadImplementationOfWrongName2.ts (2 errors) ====
|
|
class C {
|
|
foo(): string;
|
|
bar(x): any { }
|
|
~~~
|
|
!!! Function implementation name must be 'foo'.
|
|
foo(x): number;
|
|
~~~
|
|
!!! Function implementation is missing.
|
|
} |