Skip to content

Commit

Permalink
fix: Fix async main function type (#1672)
Browse files Browse the repository at this point in the history
This should better reflect the already allowed async function as main
  • Loading branch information
kammerjaeger committed Nov 14, 2023
1 parent 76f3376 commit fc6886d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type ApplicationFunctionOptions = {
export type ApplicationFunction = (
app: Probot,
options: ApplicationFunctionOptions
) => void;
) => void | Promise<void>;

export type ServerOptions = {
log?: Logger;
Expand Down

0 comments on commit fc6886d

Please sign in to comment.