TypeScript/tests/baselines/reference/functionOverloads5.errors.txt
2014-09-11 16:11:08 -07:00

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){ }
}