18 lines
376 B
Text
18 lines
376 B
Text
|
=== tests/cases/compiler/declFileForClassWithPrivateOverloadedFunction.ts ===
|
||
|
|
||
|
class C {
|
||
|
>C : C
|
||
|
|
||
|
private foo(x: number);
|
||
|
>foo : { (x: number): any; (x: string): any; }
|
||
|
>x : number
|
||
|
|
||
|
private foo(x: string);
|
||
|
>foo : { (x: number): any; (x: string): any; }
|
||
|
>x : string
|
||
|
|
||
|
private foo(x: any) { }
|
||
|
>foo : { (x: number): any; (x: string): any; }
|
||
|
>x : any
|
||
|
}
|