@@ -39,8 +39,8 @@ module Errors {
39
39
> : ^^^^^^
40
40
41
41
declare function foo2(a2: (x: number) => string[]): typeof a2;
42
- >foo2 : { (a2: (x: number) => string[]): (x: number) => string[] ; (a2: any): any; }
43
- > : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^
42
+ >foo2 : { (a2: (x: number) => string[]): typeof a2 ; (a2: any): any; }
43
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
44
44
>a2 : (x: number) => string[]
45
45
> : ^^^^ ^^^^^
46
46
>x : number
@@ -54,8 +54,8 @@ module Errors {
54
54
>a2 : any
55
55
56
56
declare function foo7(a2: (x: (arg: Base) => Derived) => (r: Base) => Derived2): typeof a2;
57
- >foo7 : { (a2: (x: (arg: Base) => Derived) => (r: Base) => Derived2): (x: (arg: Base) => Derived) => (r: Base) => Derived2 ; (a2: any): any; }
58
- > : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^
57
+ >foo7 : { (a2: (x: (arg: Base) => Derived) => (r: Base) => Derived2): typeof a2 ; (a2: any): any; }
58
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
59
59
>a2 : (x: (arg: Base) => Derived) => (r: Base) => Derived2
60
60
> : ^^^^ ^^^^^
61
61
>x : (arg: Base) => Derived
@@ -73,8 +73,8 @@ module Errors {
73
73
>a2 : any
74
74
75
75
declare function foo8(a2: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived): typeof a2;
76
- >foo8 : { (a2: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived): (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived ; (a2: any): any; }
77
- > : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^
76
+ >foo8 : { (a2: (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived): typeof a2 ; (a2: any): any; }
77
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
78
78
>a2 : (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived
79
79
> : ^^^^ ^^^^^ ^^^^^
80
80
>x : (arg: Base) => Derived
@@ -96,8 +96,8 @@ module Errors {
96
96
>a2 : any
97
97
98
98
declare function foo10(a2: (...x: Base[]) => Base): typeof a2;
99
- >foo10 : { (a2: (...x: Base[]) => Base): (...x: Base[]) => Base ; (a2: any): any; }
100
- > : ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^
99
+ >foo10 : { (a2: (...x: Base[]) => Base): typeof a2 ; (a2: any): any; }
100
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
101
101
>a2 : (...x: Base[]) => Base
102
102
> : ^^^^^^^ ^^^^^
103
103
>x : Base[]
@@ -111,8 +111,8 @@ module Errors {
111
111
>a2 : any
112
112
113
113
declare function foo11(a2: (x: { foo: string }, y: { foo: string; bar: string }) => Base): typeof a2;
114
- >foo11 : { (a2: (x: { foo: string; }, y: { foo: string; bar: string; }) => Base): (x: { foo: string; }, y: { foo: string; bar: string; }) => Base ; (a2: any): any; }
115
- > : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^
114
+ >foo11 : { (a2: (x: { foo: string; }, y: { foo: string; bar: string; }) => Base): typeof a2 ; (a2: any): any; }
115
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
116
116
>a2 : (x: { foo: string; }, y: { foo: string; bar: string; }) => Base
117
117
> : ^^^^ ^^^^^ ^^^^^
118
118
>x : { foo: string; }
@@ -134,8 +134,8 @@ module Errors {
134
134
>a2 : any
135
135
136
136
declare function foo12(a2: (x: Array<Base>, y: Array<Derived2>) => Array<Derived>): typeof a2;
137
- >foo12 : { (a2: (x: Array<Base>, y: Array<Derived2>) => Array<Derived>): (x: Array<Base>, y: Array<Derived2>) => Array<Derived> ; (a2: any): any; }
138
- > : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^
137
+ >foo12 : { (a2: (x: Array<Base>, y: Array<Derived2>) => Array<Derived>): typeof a2 ; (a2: any): any; }
138
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
139
139
>a2 : (x: Array<Base>, y: Array<Derived2>) => Array<Derived>
140
140
> : ^^^^ ^^^^^ ^^^^^
141
141
>x : Base[]
@@ -151,8 +151,8 @@ module Errors {
151
151
>a2 : any
152
152
153
153
declare function foo15(a2: (x: { a: string; b: number }) => number): typeof a2;
154
- >foo15 : { (a2: (x: { a: string; b: number; }) => number): (x: { a: string; b: number; }) => number ; (a2: any): any; }
155
- > : ^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^
154
+ >foo15 : { (a2: (x: { a: string; b: number; }) => number): typeof a2 ; (a2: any): any; }
155
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
156
156
>a2 : (x: { a: string; b: number; }) => number
157
157
> : ^^^^ ^^^^^
158
158
>x : { a: string; b: number; }
@@ -170,8 +170,8 @@ module Errors {
170
170
>a2 : any
171
171
172
172
declare function foo16(a2: {
173
- >foo16 : { (a2: { (x: { (a: number): number; (a?: number): number; }): number[]; (x: { (a: boolean): boolean; (a?: boolean): boolean; }): boolean[]; }): { (x: { (a: number): number; (a?: number): number; }): number[]; (x: { (a: boolean): boolean; (a?: boolean): boolean; }): boolean[]; } ; (a2: any): any; }
174
- > : ^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
173
+ >foo16 : { (a2: { (x: { (a: number): number; (a?: number): number; }): number[]; (x: { (a: boolean): boolean; (a?: boolean): boolean; }): boolean[]; }): typeof a2 ; (a2: any): any; }
174
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
175
175
>a2 : { (x: { (a: number): number; (a?: number): number; }): number[]; (x: { (a: boolean): boolean; (a?: boolean): boolean; }): boolean[]; }
176
176
> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^
177
177
@@ -212,8 +212,8 @@ module Errors {
212
212
>a2 : any
213
213
214
214
declare function foo17(a2: {
215
- >foo17 : { (a2: { (x: { <T extends Derived>(a: T): T; <T extends Base>(a: T): T; }): any[]; (x: { <T extends Derived2>(a: T): T; <T extends Base>(a: T): T; }): any[]; }): { (x: { <T extends Derived>(a: T): T; <T extends Base>(a: T): T; }): any[]; (x: { <T extends Derived2>(a: T): T; <T extends Base>(a: T): T; }): any[]; } ; (a2: any): any; }
216
- > : ^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
215
+ >foo17 : { (a2: { (x: { <T extends Derived>(a: T): T; <T extends Base>(a: T): T; }): any[]; (x: { <T extends Derived2>(a: T): T; <T extends Base>(a: T): T; }): any[]; }): typeof a2 ; (a2: any): any; }
216
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
217
217
>a2 : { (x: { <T extends Derived>(a: T): T; <T extends Base>(a: T): T; }): any[]; (x: { <T extends Derived2>(a: T): T; <T extends Base>(a: T): T; }): any[]; }
218
218
> : ^^^^^^ ^^^ ^^^^^^ ^^^ ^^^
219
219
@@ -748,8 +748,8 @@ module WithGenericSignaturesInBaseType {
748
748
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
749
749
750
750
declare function foo2(a2: <T>(x: T) => T[]): typeof a2;
751
- >foo2 : { (a2: <T>(x: T) => T[]): <T>(x: T) => T[] ; (a2: any): any; }
752
- > : ^^^^^^^ ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^
751
+ >foo2 : { (a2: <T>(x: T) => T[]): typeof a2 ; (a2: any): any; }
752
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
753
753
>a2 : <T>(x: T) => T[]
754
754
> : ^ ^^^^^ ^^^^^
755
755
>x : T
@@ -783,8 +783,8 @@ module WithGenericSignaturesInBaseType {
783
783
> : ^^^^^^^^^^^^^^^^^^^^^
784
784
785
785
declare function foo3(a2: <T>(x: T) => string[]): typeof a2;
786
- >foo3 : { (a2: <T>(x: T) => string[]): <T>(x: T) => string[] ; (a2: any): any; }
787
- > : ^^^^^^^ ^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^
786
+ >foo3 : { (a2: <T>(x: T) => string[]): typeof a2 ; (a2: any): any; }
787
+ > : ^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^
788
788
>a2 : <T>(x: T) => string[]
789
789
> : ^ ^^^^^ ^^^^^
790
790
>x : T
0 commit comments