Closed yaron-miron closed 2 years ago
wix-auth has a single elevate function that comes as follows in a dts:
wix-auth
elevate
declare module 'wix-auth' { function elevate(functionName: Function): Function; }
the patch changes it to be
declare module 'wix-auth' { function elevate<T extends (...arg: any) => any>(func: T): (...param: Parameters<T>) => ReturnType<T>; }
wix-auth
has a singleelevate
function that comes as follows in a dts:the patch changes it to be