Merge branch 'canary' of github.com:payloadcms/payload into canary

This commit is contained in:
James
2023-01-18 11:56:12 -05:00

View File

@@ -100,7 +100,7 @@ export type InitOptions = {
/**
* A function that is called immediately following startup that receives the Payload instance as it's only argument.
*/
onInit?: (payload: Payload) => Promise<Payload>;
onInit?: (payload: Payload) => Promise<void> | void;
/**
* Specify options for the built-in Pino logger that Payload uses for internal logging.