diff --git a/libs/sdk-js/src/utils/async_caller.mts b/libs/sdk-js/src/utils/async_caller.mts index 3658b85a1..d58823ba4 100644 --- a/libs/sdk-js/src/utils/async_caller.mts +++ b/libs/sdk-js/src/utils/async_caller.mts @@ -37,7 +37,7 @@ export interface AsyncCallerParams { * * By default we expect the `fetch` is available in the global scope. */ - fetch?: typeof fetch; + fetch?: typeof fetch | ((...args: any[]) => any); } export interface AsyncCallerCallOptions {