EventGridHandler type

type EventGridHandler<T> = (
  event: T,
  context: InvocationContext
) => FunctionResult