From fc6886d3b3c4308a78a896ccde1c99648db4953a Mon Sep 17 00:00:00 2001 From: David Brodski <129956+kammerjaeger@users.noreply.github.com> Date: Tue, 14 Nov 2023 04:02:57 -0500 Subject: [PATCH] fix: Fix async main function type (#1672) This should better reflect the already allowed async function as main --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 86dd1c6a..260df691 100644 --- a/src/types.ts +++ b/src/types.ts @@ -57,7 +57,7 @@ export type ApplicationFunctionOptions = { export type ApplicationFunction = ( app: Probot, options: ApplicationFunctionOptions -) => void; +) => void | Promise; export type ServerOptions = { log?: Logger;