Skip to content

Commit d4a4e0f

Browse files
committed
Fixing the type error in the library for customers (#369)
1 parent 1e1c720 commit d4a4e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/serviceBus.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { FunctionOptions, FunctionOutput, FunctionResult, FunctionTrigger } from './index';
55
import { InvocationContext } from './InvocationContext';
66

7-
export type ServiceBusQueueHandler = (messages: unknown, context: InvocationContext) => FunctionResult;
7+
export type ServiceBusQueueHandler = (messages: unknown | any, context: InvocationContext) => FunctionResult;
88

99
export interface ServiceBusQueueFunctionOptions extends ServiceBusQueueTriggerOptions, Partial<FunctionOptions> {
1010
handler: ServiceBusQueueHandler;

0 commit comments

Comments
 (0)