@@ -22,52 +22,64 @@ type F4 = ({ a: string, b: number }) => typeof number;
22
22
>number : Symbol(number, Decl(unusedParameterInFunctionType1.ts, 3, 23))
23
23
>number : Symbol(number, Decl(unusedParameterInFunctionType1.ts, 3, 23))
24
24
25
+ type F5 = ([a, b, c]) => void;
26
+ >F5 : Symbol(F5, Decl(unusedParameterInFunctionType1.ts, 3, 54))
27
+ >a : Symbol(a, Decl(unusedParameterInFunctionType1.ts, 4, 12))
28
+ >b : Symbol(b, Decl(unusedParameterInFunctionType1.ts, 4, 14))
29
+ >c : Symbol(c, Decl(unusedParameterInFunctionType1.ts, 4, 17))
30
+
25
31
type G1 = new (arg: number) => any;
26
- >G1 : Symbol(G1, Decl(unusedParameterInFunctionType1.ts, 3, 54 ))
27
- >arg : Symbol(arg, Decl(unusedParameterInFunctionType1.ts, 5 , 15))
32
+ >G1 : Symbol(G1, Decl(unusedParameterInFunctionType1.ts, 4, 30 ))
33
+ >arg : Symbol(arg, Decl(unusedParameterInFunctionType1.ts, 6 , 15))
28
34
29
35
type G2 = new ({ a: string }) => any;
30
- >G2 : Symbol(G2, Decl(unusedParameterInFunctionType1.ts, 5 , 35))
36
+ >G2 : Symbol(G2, Decl(unusedParameterInFunctionType1.ts, 6 , 35))
31
37
>a : Symbol(a)
32
- >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 6 , 16))
38
+ >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 7 , 16))
33
39
34
40
type G3 = new ({ a: string }) => typeof string;
35
- >G3 : Symbol(G3, Decl(unusedParameterInFunctionType1.ts, 6 , 37))
41
+ >G3 : Symbol(G3, Decl(unusedParameterInFunctionType1.ts, 7 , 37))
36
42
>a : Symbol(a)
37
- >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 7 , 16))
38
- >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 7 , 16))
43
+ >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 8 , 16))
44
+ >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 8 , 16))
39
45
40
46
type G4 = new ({ a: string, b: number }) => typeof number;
41
- >G4 : Symbol(G4, Decl(unusedParameterInFunctionType1.ts, 7 , 47))
47
+ >G4 : Symbol(G4, Decl(unusedParameterInFunctionType1.ts, 8 , 47))
42
48
>a : Symbol(a)
43
- >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 8 , 16))
49
+ >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 9 , 16))
44
50
>b : Symbol(b)
45
- >number : Symbol(number, Decl(unusedParameterInFunctionType1.ts, 8, 27))
46
- >number : Symbol(number, Decl(unusedParameterInFunctionType1.ts, 8, 27))
51
+ >number : Symbol(number, Decl(unusedParameterInFunctionType1.ts, 9, 27))
52
+ >number : Symbol(number, Decl(unusedParameterInFunctionType1.ts, 9, 27))
53
+
54
+ type G5 = new ([a, b, c]) => void;
55
+ >G5 : Symbol(G5, Decl(unusedParameterInFunctionType1.ts, 9, 58))
56
+ >a : Symbol(a, Decl(unusedParameterInFunctionType1.ts, 10, 16))
57
+ >b : Symbol(b, Decl(unusedParameterInFunctionType1.ts, 10, 18))
58
+ >c : Symbol(c, Decl(unusedParameterInFunctionType1.ts, 10, 21))
47
59
48
60
interface I {
49
- >I : Symbol(I, Decl(unusedParameterInFunctionType1.ts, 8, 58 ))
61
+ >I : Symbol(I, Decl(unusedParameterInFunctionType1.ts, 10, 34 ))
50
62
51
63
method1(arg: number): any;
52
- >method1 : Symbol(I.method1, Decl(unusedParameterInFunctionType1.ts, 10 , 13))
53
- >arg : Symbol(arg, Decl(unusedParameterInFunctionType1.ts, 11 , 10))
64
+ >method1 : Symbol(I.method1, Decl(unusedParameterInFunctionType1.ts, 12 , 13))
65
+ >arg : Symbol(arg, Decl(unusedParameterInFunctionType1.ts, 13 , 10))
54
66
55
67
method2({ a: string }): any;
56
- >method2 : Symbol(I.method2, Decl(unusedParameterInFunctionType1.ts, 11 , 28))
68
+ >method2 : Symbol(I.method2, Decl(unusedParameterInFunctionType1.ts, 13 , 28))
57
69
>a : Symbol(a)
58
- >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 12 , 11))
70
+ >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 14 , 11))
59
71
60
72
(arg: number): any;
61
- >arg : Symbol(arg, Decl(unusedParameterInFunctionType1.ts, 14 , 3))
73
+ >arg : Symbol(arg, Decl(unusedParameterInFunctionType1.ts, 16 , 3))
62
74
63
75
({ a: string }): any;
64
76
>a : Symbol(a)
65
- >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 15 , 4))
77
+ >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 17 , 4))
66
78
67
79
new (arg: number): any;
68
- >arg : Symbol(arg, Decl(unusedParameterInFunctionType1.ts, 17 , 7))
80
+ >arg : Symbol(arg, Decl(unusedParameterInFunctionType1.ts, 19 , 7))
69
81
70
82
new ({ a: string }): any;
71
83
>a : Symbol(a)
72
- >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 18 , 8))
84
+ >string : Symbol(string, Decl(unusedParameterInFunctionType1.ts, 20 , 8))
73
85
}
0 commit comments