Skip to content

Commit 36b49c0

Browse files
authored
Merge pull request #22775 from adriengibrat/FixFunctionApplyDefinition
Fix function.apply type definition
2 parents a9d65b8 + 4f0a2e2 commit 36b49c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lib.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ interface Function {
265265
* @param thisArg The object to be used as the this object.
266266
* @param argArray A set of arguments to be passed to the function.
267267
*/
268-
apply(this: Function, thisArg: any, argArray?: any): any;
268+
apply(this: Function, thisArg: any, argArray?: Readonly<ArrayLike<any>>): any;
269269

270270
/**
271271
* Calls a method of an object, substituting another object for the current object.

0 commit comments

Comments
 (0)