Skip to content

Commit 1c08b19

Browse files
committed
chore: improve V2 callable typing
1 parent a4d2de0 commit 1c08b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export type WrappedV2Function<T extends CloudEvent<unknown>> = (
3535
) => any | Promise<any>;
3636

3737
export type WrappedV2CallableFunction<T> = (
38-
data: CallableRequest
38+
data: DeepPartial<CallableRequest>
3939
) => T | Promise<T>;
4040

4141
function isCallableV2Function<T extends CloudEvent<unknown>>(

0 commit comments

Comments
 (0)