UNPKG

217 BTypeScriptView Raw
1declare function Call<T, R>(F: (this: T) => R, thisArg: T): R;
2declare function Call<T, A extends readonly unknown[], R>(
3 F: (this: T, ...args: A) => R,
4 thisArg: T,
5 args: Readonly<A>,
6): R;
7export = Call;