Merge branch 'canary' of github.com:payloadcms/payload into canary
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user