Skip to content

Commit 9b949da

Browse files
committed
Merge branch 'canary' of github.com:payloadcms/payload into canary
2 parents caa5cef + 1befe0c commit 9b949da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export type InitOptions = {
100100
/**
101101
* A function that is called immediately following startup that receives the Payload instance as it's only argument.
102102
*/
103-
onInit?: (payload: Payload) => Promise<Payload>;
103+
onInit?: (payload: Payload) => Promise<void> | void;
104104

105105
/**
106106
* Specify options for the built-in Pino logger that Payload uses for internal logging.

0 commit comments

Comments
 (0)