From 4f0a2e24e46bb3a6b7dcb774358dba575059ddc3 Mon Sep 17 00:00:00 2001 From: Adrien Gibrat Date: Wed, 21 Mar 2018 22:49:19 +0100 Subject: [PATCH] Fix function.apply type definition Thanks @DanielRosenwasser #fix 22600 --- lib/lib.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lib.d.ts b/lib/lib.d.ts index 25d5a28dc9..b489fdcd36 100644 --- a/lib/lib.d.ts +++ b/lib/lib.d.ts @@ -265,7 +265,7 @@ interface Function { * @param thisArg The object to be used as the this object. * @param argArray A set of arguments to be passed to the function. */ - apply(this: Function, thisArg: any, argArray?: any): any; + apply(this: Function, thisArg: any, argArray?: Readonly>): any; /** * Calls a method of an object, substituting another object for the current object.