Skip to content

Commit 72e6678

Browse files
author
Kanchalai Tanglertsampan
committed
Update baselines
1 parent 3d9a1ba commit 72e6678

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/baselines/reference/jsFileCompilationRestParamJsDocFunction.types

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
* @returns {*} Returns the result of `func`.
1111
*/
1212
function apply(func, thisArg, args) {
13-
>apply : (func: {}, thisArg: any, ...args: any[]) => any
14-
>func : {}
13+
>apply : (func: Function, thisArg: any, ...args: any[]) => any
14+
>func : Function
1515
>thisArg : any
1616
>args : any[]
1717

@@ -28,15 +28,15 @@ function apply(func, thisArg, args) {
2828
>0 : 0
2929
>func.call(thisArg) : any
3030
>func.call : (this: Function, thisArg: any, ...argArray: any[]) => any
31-
>func : {}
31+
>func : Function
3232
>call : (this: Function, thisArg: any, ...argArray: any[]) => any
3333
>thisArg : any
3434

3535
case 1: return func.call(thisArg, args[0]);
3636
>1 : 1
3737
>func.call(thisArg, args[0]) : any
3838
>func.call : (this: Function, thisArg: any, ...argArray: any[]) => any
39-
>func : {}
39+
>func : Function
4040
>call : (this: Function, thisArg: any, ...argArray: any[]) => any
4141
>thisArg : any
4242
>args[0] : any
@@ -47,7 +47,7 @@ function apply(func, thisArg, args) {
4747
>2 : 2
4848
>func.call(thisArg, args[0], args[1]) : any
4949
>func.call : (this: Function, thisArg: any, ...argArray: any[]) => any
50-
>func : {}
50+
>func : Function
5151
>call : (this: Function, thisArg: any, ...argArray: any[]) => any
5252
>thisArg : any
5353
>args[0] : any
@@ -61,7 +61,7 @@ function apply(func, thisArg, args) {
6161
>3 : 3
6262
>func.call(thisArg, args[0], args[1], args[2]) : any
6363
>func.call : (this: Function, thisArg: any, ...argArray: any[]) => any
64-
>func : {}
64+
>func : Function
6565
>call : (this: Function, thisArg: any, ...argArray: any[]) => any
6666
>thisArg : any
6767
>args[0] : any
@@ -77,12 +77,12 @@ function apply(func, thisArg, args) {
7777
return func.apply(thisArg, args);
7878
>func.apply(thisArg, args) : any
7979
>func.apply : (this: Function, thisArg: any, argArray?: any) => any
80-
>func : {}
80+
>func : Function
8181
>apply : (this: Function, thisArg: any, argArray?: any) => any
8282
>thisArg : any
8383
>args : any[]
8484
}
8585

8686
export default apply;
87-
>apply : (func: {}, thisArg: any, ...args: any[]) => any
87+
>apply : (func: Function, thisArg: any, ...args: any[]) => any
8888

0 commit comments

Comments
 (0)