TypeScript/tests/baselines/reference/functionOverloads5.errors.txt

11 lines
377 B
Text
Raw Normal View History

tests/cases/compiler/functionOverloads5.ts(2,10): error TS2385: Overload signatures must all be public, private or protected.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/functionOverloads5.ts (1 errors) ====
class baz {
public foo();
~~~
!!! error TS2385: Overload signatures must all be public, private or protected.
2014-07-13 01:04:16 +02:00
private foo(bar?:any){ }
}