We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2cff1a commit 332b3a2Copy full SHA for 332b3a2
packages/browser/src/sdk.ts
@@ -162,7 +162,7 @@ export function close(timeout?: number): Promise<boolean> {
162
*
163
* @returns The result of wrapped function call.
164
*/
165
-export function wrap<T>(fn: () => T): ReturnType<typeof fn> {
+export function wrap(fn: Function): any {
166
// tslint:disable-next-line: no-unsafe-any
167
return internalWrap(fn)();
168
}
0 commit comments