File: declFilePrivateMethodOverloads.types

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (63 lines) | stat: -rw-r--r-- 2,633 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
=== tests/cases/compiler/declFilePrivateMethodOverloads.ts ===
interface IContext {
    someMethod();
>someMethod : () => any
}
class c1 {
>c1 : c1

    private _forEachBindingContext(bindingContext: IContext, fn: (bindingContext: IContext) => void);
>_forEachBindingContext : { (bindingContext: IContext, fn: (bindingContext: IContext) => void): any; (bindingContextArray: IContext[], fn: (bindingContext: IContext) => void): any; }
>bindingContext : IContext
>fn : (bindingContext: IContext) => void
>bindingContext : IContext

    private _forEachBindingContext(bindingContextArray: Array<IContext>, fn: (bindingContext: IContext) => void);
>_forEachBindingContext : { (bindingContext: IContext, fn: (bindingContext: IContext) => void): any; (bindingContextArray: IContext[], fn: (bindingContext: IContext) => void): any; }
>bindingContextArray : IContext[]
>fn : (bindingContext: IContext) => void
>bindingContext : IContext

    private _forEachBindingContext(context, fn: (bindingContext: IContext) => void): void {
>_forEachBindingContext : { (bindingContext: IContext, fn: (bindingContext: IContext) => void): any; (bindingContextArray: IContext[], fn: (bindingContext: IContext) => void): any; }
>context : any
>fn : (bindingContext: IContext) => void
>bindingContext : IContext

        // Function here
    }

    private overloadWithArityDifference(bindingContext: IContext);
>overloadWithArityDifference : { (bindingContext: IContext): any; (bindingContextArray: IContext[], fn: (bindingContext: IContext) => void): any; }
>bindingContext : IContext

    private overloadWithArityDifference(bindingContextArray: Array<IContext>, fn: (bindingContext: IContext) => void);
>overloadWithArityDifference : { (bindingContext: IContext): any; (bindingContextArray: IContext[], fn: (bindingContext: IContext) => void): any; }
>bindingContextArray : IContext[]
>fn : (bindingContext: IContext) => void
>bindingContext : IContext

    private overloadWithArityDifference(context): void {
>overloadWithArityDifference : { (bindingContext: IContext): any; (bindingContextArray: IContext[], fn: (bindingContext: IContext) => void): any; }
>context : any

        // Function here
    }
}
declare class c2 {
>c2 : c2

    private overload1(context, fn);
>overload1 : (context: any, fn: any) => any
>context : any
>fn : any

    private overload2(context);
>overload2 : { (context: any): any; (context: any, fn: any): any; }
>context : any

    private overload2(context, fn);
>overload2 : { (context: any): any; (context: any, fn: any): any; }
>context : any
>fn : any
}