forked from mirrors/probot
fix: Fix async main function type (#1672)
This should better reflect the already allowed async function as main
This commit is contained in:
parent
76f3376070
commit
fc6886d3b3
|
@ -57,7 +57,7 @@ export type ApplicationFunctionOptions = {
|
|||
export type ApplicationFunction = (
|
||||
app: Probot,
|
||||
options: ApplicationFunctionOptions
|
||||
) => void;
|
||||
) => void | Promise<void>;
|
||||
|
||||
export type ServerOptions = {
|
||||
log?: Logger;
|
||||
|
|
Loading…
Reference in New Issue