8 lines
No EOL
221 B
Text
8 lines
No EOL
221 B
Text
==== tests/cases/compiler/functionOverloads5.ts (1 errors) ====
|
|
class baz {
|
|
public foo();
|
|
~~~
|
|
!!! Overload signatures must all be public or private.
|
|
private foo(bar?:any){ }
|
|
}
|
|
|