mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
335 B
Plaintext
11 lines
335 B
Plaintext
functionOverloads5.ts(2,10): error TS2385: Overload signatures must all be public, private or protected.
|
|
|
|
|
|
==== functionOverloads5.ts (1 errors) ====
|
|
class baz {
|
|
public foo();
|
|
~~~
|
|
!!! error TS2385: Overload signatures must all be public, private or protected.
|
|
private foo(bar?:any){ }
|
|
}
|
|
|