TypeScript/tests/baselines/reference/functionOverloads5.errors.txt
2014-09-17 17:05:45 -07:00

11 lines
377 B
Plaintext

tests/cases/compiler/functionOverloads5.ts(2,10): error TS2385: Overload signatures must all be public, private or protected.
==== tests/cases/compiler/functionOverloads5.ts (1 errors) ====
class baz {
public foo();
~~~
!!! error TS2385: Overload signatures must all be public, private or protected.
private foo(bar?:any){ }
}