8 lines
221 B
Text
8 lines
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){ }
|
||
|
}
|
||
|
|