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