You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No overload matches this call.
Overload 1 of 3, '(cloudFunction: HttpsFunction & Runnable<unknown>): WrappedFunction<unknown, HttpsFunction & Runnable<unknown>>', gave the following error.
Argument of type 'BlockingFunction' is not assignable to parameter of type 'HttpsFunction & Runnable<unknown>'.
Property 'run' is missing in type 'BlockingFunction' but required in type 'Runnable<unknown>'.
Overload 2 of 3, '(cloudFunction: CloudFunction<unknown>): WrappedScheduledFunction | WrappedFunction<unknown>', gave the following error.
Argument of type 'BlockingFunction' is not assignable to parameter of type 'CloudFunction<unknown>'.
Property 'run' is missing in type 'BlockingFunction' but required in type 'CloudFunction<unknown>'.
Overload 3 of 3, '(cloudFunction: CloudFunction<CloudEvent<unknown>>): WrappedV2Function<CloudEvent<unknown>>', gave the following error.
Argument of type 'BlockingFunction' is not assignable to parameter of type 'CloudFunction<CloudEvent<unknown>>'.
Property 'run' is missing in type 'BlockingFunction' but required in type 'CloudFunction<CloudEvent<unknown>>'.t
The text was updated successfully, but these errors were encountered:
Version info
firebase-functions-test:
firebase-functions:
firebase-admin:
Test case
I am testing firebase blocking functions by
firebase-functions-test
, But the there is no overload onwrap
function.Steps to reproduce
Production code:
Test code(This throws error):
Expected behavior
wrap
function should accept typeBlockingFunction
Actual behavior
The text was updated successfully, but these errors were encountered: