fix: Fix async main function type (#1672)

This should better reflect the already allowed async function as main
This commit is contained in:
David Brodski 2023-11-14 04:02:57 -05:00 committed by GitHub
parent 76f3376070
commit fc6886d3b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export type ApplicationFunctionOptions = {
export type ApplicationFunction = (
app: Probot,
options: ApplicationFunctionOptions
) => void;
) => void | Promise<void>;
export type ServerOptions = {
log?: Logger;